diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-04-23 06:12:14 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-04-23 06:12:14 +0000 |
commit | b9e55bb180a44f990e201c771c103469f6fb08ca (patch) | |
tree | dcbec41543db290e07d5b2723c611d5ebf9c0fac /arch | |
parent | c4ca763cc6ffd1ffef022766dde60487e42f17ae (diff) |
Change all instances of __SMP__ to CONFIG_SMP and include
<linux/config.h> where necessary.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/head.S | 4 | ||||
-rw-r--r-- | arch/mips64/kernel/entry.S | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S index 330459b5d..df612cbf8 100644 --- a/arch/mips/kernel/head.S +++ b/arch/mips/kernel/head.S @@ -157,7 +157,7 @@ eret END(except_vec0_r45k_bvahwbug) -#ifdef __SMP__ +#ifdef CONFIG_SMP /* TLB refill, EXL == 0, R4000 MP badvaddr hwbug version */ LEAF(except_vec0_r4k_mphwbug) .set mips3 @@ -216,7 +216,7 @@ eret END(except_vec0_r4k_250MHZhwbug) -#ifdef __SMP__ +#ifdef CONFIG_SMP /* TLB refill, EXL == 0, R4000 MP 250MHZ entrylo[01]+badvaddr bug version */ LEAF(except_vec0_r4k_MP250MHZhwbug) .set mips3 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 |