aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-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 17f768cba94f..243f2ab45893 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)
156{ 156{
157 cnodeid_t cnode; 157 cnodeid_t cnode;
158 158
159 for_each_online_node(cnode) 159 for_each_online_node(cnode) {
160 if (cnode == 0)
161 continue;
160 intr_clear_all(COMPACT_TO_NASID_NODEID(cnode)); 162 intr_clear_all(COMPACT_TO_NASID_NODEID(cnode));
163 }
161 164
162 replicate_kernel_text(); 165 replicate_kernel_text();
163 166