Browse Source

It's unwise to disable all interrupts of the boot node ;-)

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 20 years ago
parent
commit
de1db6ffe2
1 changed files with 4 additions and 1 deletions
  1. 4 1
      arch/mips/sgi-ip27/ip27-smp.c

+ 4 - 1
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();