patch-2.3.99-pre7 linux/arch/mips64/kernel/entry.S

Next file: linux/arch/mips64/sgi-ip22/ip22-reset.c
Previous file: linux/arch/mips64/defconfig-ip22
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/arch/mips64/kernel/entry.S linux/arch/mips64/kernel/entry.S
@@ -9,6 +9,7 @@
  * Copyright (C) 1994 - 2000 by Ralf Baechle
  * Copyright (C) 1999, 2000 Silicon Graphics
  */
+#include <linux/config.h>
 #include <asm/asm.h>
 #include <asm/regdef.h>
 #include <asm/mipsregs.h>
@@ -33,7 +34,7 @@
 
 FEXPORT(ret_from_sys_call)
 FEXPORT(ret_from_irq)
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 #error Barffff...
 #else
 		la	t1, softirq_state

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