patch-2.3.24 linux/arch/ppc/kernel/gemini_setup.c

Next file: linux/arch/ppc/kernel/idle.c
Previous file: linux/arch/ppc/kernel/chrp_setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.23/linux/arch/ppc/kernel/gemini_setup.c linux/arch/ppc/kernel/gemini_setup.c
@@ -332,9 +332,12 @@
 
 	/* gemini has no 8259 */
 	open_pic.irq_offset = 0;
-	for( i=0; i < 16; i++ ) 
+	for( i=0; i < OPENPIC_VEC_SPURIOUS; i++ ) 
 		irq_desc[i].ctl = &open_pic;
 	openpic_init(1);
+#ifdef __SMP__
+	request_irq(OPENPIC_VEC_IPI, openpic_ipi_action, 0, "IPI0", 0);
+#endif	/* __SMP__ */
 }
 
 #define gemini_rtc_read(x)       (readb(GEMINI_RTC+(x)))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)