patch-2.3.7 linux/include/asm-arm/proc-armv/system.h
Next file: linux/include/asm-arm/processor.h
Previous file: linux/include/asm-arm/proc-armv/semaphore.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Thu Jun 17 01:11:35 1999
- Orig file:
v2.3.6/linux/include/asm-arm/proc-armv/system.h
- Orig date:
Thu Jan 7 15:51:33 1999
diff -u --recursive --new-file v2.3.6/linux/include/asm-arm/proc-armv/system.h linux/include/asm-arm/proc-armv/system.h
@@ -121,6 +121,12 @@
: "memory"); \
} while (0)
+/* For spinlocks etc */
+#define local_irq_save(x) __save_flags_cli(x)
+#define local_irq_restore(x) __restore_flags(x)
+#define local_irq_disable() __cli()
+#define local_irq_enable() __sti()
+
#ifdef __SMP__
#error SMP not supported
#else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)