patch-2.1.69 linux/include/asm-i386/atomic.h

Next file: linux/include/asm-i386/bitops.h
Previous file: linux/include/asm-alpha/ucontext.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.68/linux/include/asm-i386/atomic.h linux/include/asm-i386/atomic.h
@@ -17,7 +17,7 @@
  * on us. We need to use _exactly_ the address the user gave us,
  * not some alias that contains the same information.
  */
-#define __atomic_fool_gcc(x) (*(struct { int a[100]; } *)x)
+#define __atomic_fool_gcc(x) (*(volatile struct { int a[100]; } *)x)
 
 #ifdef __SMP__
 typedef struct { volatile int counter; } atomic_t;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov