git: drm/linux: Rewrite READ_ONCE() and WRITE_ONCE()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Sep 1 00:06:41 PDT 2018


commit 7ddbbbe51d94c21f884c497f697e3c1f8b65de64
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Sep 1 08:34:40 2018 +0200

    drm/linux: Rewrite READ_ONCE() and WRITE_ONCE()
    
    These macros were broken when used with some complex types like
    pointers to pointers.

Summary of changes:
 sys/dev/drm/include/linux/compiler.h | 92 ++++++++++++++++++++++++++++++------
 1 file changed, 78 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ddbbbe51d94c21f884c497f697e3c1f8b65de64


-- 
DragonFly BSD source repository


More information about the Commits mailing list