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 17f768cba94f5d7297ee8e95974956739407646d..243f2ab458934aba97360eac2ce789c341298574 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();