===== arch/ppc64/kernel/open_pic.c 1.28 vs edited ===== --- 1.28/arch/ppc64/kernel/open_pic.c Sun Feb 15 15:23:36 2004 +++ edited/arch/ppc64/kernel/open_pic.c Mon Feb 16 13:00:33 2004 @@ -76,7 +76,6 @@ static int NumISUs; static int open_pic_irq_offset; static volatile unsigned char* chrp_int_ack_special; -static int broken_ipi_registers; OpenPIC_SourcePtr ISU[OPENPIC_MAX_ISU]; @@ -99,6 +98,7 @@ static void openpic_enable_ipi(unsigned int irq_nr); static void openpic_disable_ipi(unsigned int irq_nr); +static int broken_ipi_registers; struct hw_interrupt_type open_pic_ipi = { " OpenPIC ", NULL, @@ -170,10 +170,12 @@ { if (irq < open_pic_irq_offset) { desc->handler = &i8259_pic; +#ifdef CONFIG_SMP } else if (irq >= openpic_vec_ipi && irq < openpic_vec_ipi + OPENPIC_NUM_IPI) { desc->status |= IRQ_PER_CPU; desc->handler = &open_pic_ipi; +#endif } else { if (openpic_get_sense(irq - open_pic_irq_offset)) desc->status |= IRQ_LEVEL;