From ba1230e55c9e219fc5eb8835a4b5e881d8bf8acd Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 13 Feb 2005 18:53:26 +0000 Subject: [PATCH] --- yaml --- r: 10994 b: refs/heads/master c: de1db6ffe2d802460b7e9f2c1e354066e000d6e6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/mips/sgi-ip27/ip27-smp.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index dae16e4d5e06..d3acb5772cd6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 85b6e8184b798d06c854463cdd6c63dd1d4ff47c +refs/heads/master: de1db6ffe2d802460b7e9f2c1e354066e000d6e6 diff --git a/trunk/arch/mips/sgi-ip27/ip27-smp.c b/trunk/arch/mips/sgi-ip27/ip27-smp.c index 17f768cba94f..243f2ab45893 100644 --- a/trunk/arch/mips/sgi-ip27/ip27-smp.c +++ b/trunk/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();