patch-2.3.99-pre7 linux/include/asm-alpha/system.h
Next file: linux/include/asm-i386/spinlock.h
Previous file: linux/include/asm-alpha/string.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon May 8 22:00:01 2000
- Orig file:
v2.3.99-pre6/linux/include/asm-alpha/system.h
- Orig date:
Sat Feb 26 22:31:55 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-alpha/system.h linux/include/asm-alpha/system.h
@@ -290,7 +290,7 @@
#define local_irq_disable() __cli()
#define local_irq_enable() __sti()
-#ifdef __SMP__
+#ifdef CONFIG_SMP
extern int global_irq_holder;
@@ -306,7 +306,7 @@
#define save_flags(flags) ((flags) = __global_save_flags())
#define restore_flags(flags) __global_restore_flags(flags)
-#else /* __SMP__ */
+#else /* CONFIG_SMP */
#define cli() __cli()
#define sti() __sti()
@@ -314,7 +314,7 @@
#define save_and_cli(flags) __save_and_cli(flags)
#define restore_flags(flags) __restore_flags(flags)
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
/*
* TB routines..
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)