patch-2.3.99-pre6 linux/include/asm-ppc/hardirq.h

Next file: linux/include/asm-ppc/pgalloc.h
Previous file: linux/include/asm-ppc/elf.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-ppc/hardirq.h linux/include/asm-ppc/hardirq.h
@@ -15,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)
@@ -25,7 +25,7 @@
 
 #define synchronize_irq()	do { } while (0)
 
-#else /* __SMP__ */
+#else /* CONFIG_SMP */
 
 #include <asm/atomic.h>
 
@@ -80,6 +80,6 @@
 
 extern void synchronize_irq(void);
 
-#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)