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

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

diff -u --recursive --new-file v2.3.99-pre5/linux/arch/alpha/kernel/entry.S linux/arch/alpha/kernel/entry.S
@@ -4,6 +4,7 @@
  * kernel entry-points
  */
 
+#include <linux/config.h>
 #include <asm/system.h>
 
 #define SIGCHLD 20
@@ -706,7 +707,7 @@
 	br	restore_all
 .end entSys
 
-#ifdef __SMP__
+#ifdef CONFIG_SMP
         .globl  ret_from_smp_fork
 .align 3
 .ent ret_from_smp_fork
@@ -715,7 +716,7 @@
 	mov	$17,$16
 	jsr	$31,schedule_tail
 .end ret_from_smp_fork
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
 
 .align 3
 .ent reschedule

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