patch-2.1.110 linux/include/asm-arm/spinlock.h
Next file: linux/include/asm-arm/system.h
Previous file: linux/include/asm-arm/signal.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sat Jul 18 11:55:25 1998
- Orig file:
v2.1.109/linux/include/asm-arm/spinlock.h
- Orig date:
Tue Jan 20 16:39:43 1998
diff -u --recursive --new-file v2.1.109/linux/include/asm-arm/spinlock.h linux/include/asm-arm/spinlock.h
@@ -18,7 +18,7 @@
#define spin_unlock_irq(lock) sti()
#define spin_lock_irqsave(lock, flags) \
- do { save_flags(flags); cli(); } while (0)
+ do { __save_flags_cli(flags); } while (0)
#define spin_unlock_irqrestore(lock, flags) \
restore_flags(flags)
@@ -45,11 +45,11 @@
#define write_unlock_irq(lock) sti()
#define read_lock_irqsave(lock, flags) \
- do { save_flags(flags); cli(); } while (0)
+ do { __save_flags_cli(flags); } while (0)
#define read_unlock_irqrestore(lock, flags) \
restore_flags(flags)
#define write_lock_irqsave(lock, flags) \
- do { save_flags(flags); cli(); } while (0)
+ do { __save_flags_cli(flags); } while (0)
#define write_unlock_irqrestore(lock, flags) \
restore_flags(flags)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov