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

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

diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-ppc/smp.h linux/include/asm-ppc/smp.h
@@ -6,9 +6,10 @@
 #ifndef _PPC_SMP_H
 #define _PPC_SMP_H
 
+#include <linux/config.h>
 #include <linux/kernel.h>
 
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 
 #ifndef __ASSEMBLY__
 
@@ -50,8 +51,8 @@
 
 #endif /* __ASSEMBLY__ */
 
-#else /* !(__SMP__) */
+#else /* !(CONFIG_SMP) */
 
-#endif /* !(__SMP__) */
+#endif /* !(CONFIG_SMP) */
 
 #endif /* !(_PPC_SMP_H) */

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