patch-2.3.99-pre6 linux/arch/alpha/kernel/head.S

Next file: linux/arch/alpha/kernel/irq.c
Previous file: linux/arch/alpha/kernel/entry.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/arch/alpha/kernel/head.S linux/arch/alpha/kernel/head.S
@@ -7,6 +7,7 @@
  * the kernel global pointer and jump to the kernel entry-point.
  */
 
+#include <linux/config.h>
 #include <asm/system.h>
 
 .globl swapper_pg_dir
@@ -30,7 +31,7 @@
 	call_pal PAL_halt
 	.end __start
 
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 	.align 3
 	.globl	__smp_callin
 	.ent	__smp_callin
@@ -52,7 +53,7 @@
 	jsr	$26,smp_callin
 	call_pal PAL_halt
 	.end __smp_callin
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
 
 	#
 	# The following two functions are needed for supporting SRM PALcode

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