summaryrefslogtreecommitdiffstats
path: root/arch/mips64/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips64/kernel')
-rw-r--r--arch/mips64/kernel/entry.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips64/kernel/entry.S b/arch/mips64/kernel/entry.S
index e591fd845..8f61ca7ee 100644
--- a/arch/mips64/kernel/entry.S
+++ b/arch/mips64/kernel/entry.S
@@ -9,6 +9,8 @@
* 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>
@@ -34,7 +36,7 @@ reschedule: jal schedule
FEXPORT(ret_from_sys_call)
FEXPORT(ret_from_irq)
la t1, softirq_state
-#ifdef __SMP__
+#ifdef CONFIG_SMP
lwu t0, TASK_PROCESSOR($28)
dsll t0, t0, 5
daddu t1, t0