It's unwise to disable all interrupts of the boot node ;-)
authorRalf Baechle <ralf@linux-mips.org>
Sun, 13 Feb 2005 18:53:26 +0000 (18:53 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:32 +0000 (19:30 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip27/ip27-smp.c

index 17f768c..243f2ab 100644 (file)
@@ -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();