瀏覽代碼

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 20 年之前
父節點
當前提交
de1db6ffe2
共有 1 個文件被更改,包括 4 次插入1 次删除
  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();