patch-2.4.0-test12 linux/include/asm-arm/system.h
Next file: linux/include/asm-generic/bitops.h
Previous file: linux/include/asm-arm/processor.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Nov 27 17:07:59 2000
- Orig file:
v2.4.0-test11/linux/include/asm-arm/system.h
- Orig date:
Sun Aug 13 09:54:15 2000
diff -u --recursive --new-file v2.4.0-test11/linux/include/asm-arm/system.h linux/include/asm-arm/system.h
@@ -4,7 +4,7 @@
#ifdef __KERNEL__
#include <linux/config.h>
-#include <linux/linkage.h>
+#include <linux/kernel.h>
/* information about the system we're running on */
extern unsigned int system_rev;
@@ -64,7 +64,16 @@
#ifdef CONFIG_SMP
#error SMP not supported
+
+#define smp_mb() mb()
+#define smp_rmb() rmb()
+#define smp_wmb() wmb()
+
#else
+
+#define smp_mb() barrier()
+#define smp_rmb() barrier()
+#define smp_wmb() barrier()
#define cli() __cli()
#define sti() __sti()
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)