aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/sgi-ip27/ip27-smp.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-02-13 18:53:26 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:30:32 +0100
commitde1db6ffe2d802460b7e9f2c1e354066e000d6e6 (patch)
treec5df61f134ed94dd48b3624ffecd8d7f02a22caf /arch/mips/sgi-ip27/ip27-smp.c
parent85b6e8184b798d06c854463cdd6c63dd1d4ff47c (diff)
It's unwise to disable all interrupts of the boot node ;-)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-smp.c')
-rw-r--r--arch/mips/sgi-ip27/ip27-smp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip27/ip27-smp.c b/arch/mips/sgi-ip27/ip27-smp.c
index 17f768cba94..243f2ab4589 100644
--- a/arch/mips/sgi-ip27/ip27-smp.c
+++ b/arch/mips/sgi-ip27/ip27-smp.c
@@ -156,8 +156,11 @@ void __init prom_prepare_cpus(unsigned int max_cpus)
{
cnodeid_t cnode;
- for_each_online_node(cnode)
+ for_each_online_node(cnode) {
+ if (cnode == 0)
+ continue;
intr_clear_all(COMPACT_TO_NASID_NODEID(cnode));
+ }
replicate_kernel_text();