patch-1.3.99 linux/include/asm-m68k/system.h

Next file: linux/include/asm-mips/shmparam.h
Previous file: linux/include/asm-m68k/serial.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.98/linux/include/asm-m68k/system.h linux/include/asm-m68k/system.h
@@ -64,6 +64,7 @@
 #endif /* machine compilation types */ 
 #define cli() __asm__ __volatile__ ("oriw  #0x0700,%/sr": : : "memory")
 #define nop() __asm__ __volatile__ ("nop"::)
+#define mb()  __asm__ __volatile__ (""   : : :"memory")
 
 #define save_flags(x) \
 __asm__ __volatile__("movew %/sr,%0":"=d" (x) : /* no input */ :"memory")

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