patch-2.3.99-pre6 linux/include/asm-arm/hardirq.h
Next file: linux/include/asm-arm/pci.h
Previous file: linux/include/asm-arm/atomic.h
Back to the patch index
Back to the overall index
-  Lines: 25
-  Date:
Tue Apr 25 16:54:38 2000
-  Orig file: 
v2.3.99-pre5/linux/include/asm-arm/hardirq.h
-  Orig date: 
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-arm/hardirq.h linux/include/asm-arm/hardirq.h
@@ -1,6 +1,7 @@
 #ifndef __ASM_HARDIRQ_H
 #define __ASM_HARDIRQ_H
 
+#include <linux/config.h>
 #include <linux/threads.h>
 
 extern unsigned int local_irq_count[NR_CPUS];
@@ -14,7 +15,7 @@
 
 #define in_irq() (local_irq_count[smp_processor_id()] != 0)
 
-#ifndef __SMP__
+#ifndef CONFIG_SMP
 
 #define hardirq_trylock(cpu)	(local_irq_count[cpu] == 0)
 #define hardirq_endlock(cpu)	do { } while (0)
@@ -26,6 +27,6 @@
 
 #else
 #error SMP not supported
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
 
 #endif /* __ASM_HARDIRQ_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)