patch-2.1.127 linux/include/linux/kernel.h

Next file: linux/include/linux/mm.h
Previous file: linux/include/linux/if.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/include/linux/kernel.h linux/include/linux/kernel.h
@@ -11,7 +11,8 @@
 #include <linux/linkage.h>
 
 /* Optimization barrier */
-#define barrier() __asm__("": : :"memory")
+/* The "volatile" is due to gcc bugs */
+#define barrier() __asm__ __volatile__("": : :"memory")
 
 #define INT_MAX		((int)(~0U>>1))
 #define UINT_MAX	(~0U)

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