Module Name:    xsrc
Committed By:   riastradh
Date:           Thu Feb 25 05:01:21 UTC 2016

Modified Files:
        xsrc/external/mit/libdrm/dist: xf86atomic.h

Log Message:
The unsigned int object must be volatile-qualified too.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 xsrc/external/mit/libdrm/dist/xf86atomic.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libdrm/dist/xf86atomic.h
diff -u xsrc/external/mit/libdrm/dist/xf86atomic.h:1.8 xsrc/external/mit/libdrm/dist/xf86atomic.h:1.9
--- xsrc/external/mit/libdrm/dist/xf86atomic.h:1.8	Thu Feb 25 04:48:24 2016
+++ xsrc/external/mit/libdrm/dist/xf86atomic.h	Thu Feb 25 05:01:21 2016
@@ -88,7 +88,7 @@ typedef struct {
 #define LIBDRM_ATOMIC_TYPE uint_t
 #endif
 
-typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t;
+typedef struct { volatile LIBDRM_ATOMIC_TYPE atomic; } atomic_t;
 
 # define atomic_read(x) (int) ((x)->atomic)
 # define atomic_set(x, val) ((x)->atomic = (LIBDRM_ATOMIC_TYPE)(val))

Reply via email to