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
- Lines: 10
- Date:
Tue Oct 27 09:53:09 1998
- Orig file:
v2.1.126/linux/include/linux/kernel.h
- Orig date:
Tue Apr 14 14:29:25 1998
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