소스 검색

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 21 년 전
부모
커밋
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();