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

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

diff -u --recursive --new-file v1.3.67/linux/include/linux/kernel.h linux/include/linux/kernel.h
@@ -10,6 +10,9 @@
 #include <stdarg.h>
 #include <linux/linkage.h>
 
+/* Optimization barrier */
+#define barrier() __asm__("": : :"memory")
+
 #define INT_MAX		((int)(~0U>>1))
 #define UINT_MAX	(~0U)
 #define LONG_MAX	((long)(~0UL>>1))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this