patch-2.3.6 linux/include/asm-alpha/system.h

Next file: linux/include/asm-i386/bugs.h
Previous file: linux/include/asm-alpha/string.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.5/linux/include/asm-alpha/system.h linux/include/asm-alpha/system.h
@@ -227,6 +227,11 @@
 #define __save_and_cli(flags)	((flags) = swpipl(7))
 #define __restore_flags(flags)	setipl(flags)
 
+#define local_irq_save(flags)		__save_and_cli(flags)
+#define local_irq_restore(flags)	__restore_flags(flags)
+#define local_irq_disable()		__cli()
+#define local_irq_enable()		__sti()
+
 #ifdef __SMP__
 
 extern int global_irq_holder;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)