patch-2.1.40 linux/include/asm-m68k/system.h
Next file: linux/include/asm-m68k/unistd.h
Previous file: linux/include/asm-m68k/spinlock.h
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Sun May 18 17:10:38 1997
- Orig file:
v2.1.39/linux/include/asm-m68k/system.h
- Orig date:
Wed Apr 23 19:01:28 1997
diff -u --recursive --new-file v2.1.39/linux/include/asm-m68k/system.h linux/include/asm-m68k/system.h
@@ -83,6 +83,7 @@
#define sti() __sti()
#define save_flags(x) __save_flags(x)
#define restore_flags(x) __restore_flags(x)
+#define save_and_cli(flags) do { save_flags(flags); cli(); } while(0)
#ifndef CONFIG_RMW_INSNS
static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov