patch-2.4.25 linux-2.4.25/arch/ppc64/kernel/i8259.c
Next file: linux-2.4.25/arch/ppc64/kernel/iSeries_irq.c
Previous file: linux-2.4.25/arch/ppc64/kernel/htab.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
2004-02-18 05:36:30.000000000 -0800
- Orig file:
linux-2.4.24/arch/ppc64/kernel/i8259.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.24/arch/ppc64/kernel/i8259.c linux-2.4.25/arch/ppc64/kernel/i8259.c
@@ -123,7 +123,8 @@
static void i8259_end_irq(unsigned int irq)
{
- if (!(irq_desc[irq].status & (IRQ_DISABLED|IRQ_INPROGRESS)))
+ if (!(irqdesc(irq)->status & (IRQ_DISABLED|IRQ_INPROGRESS)) &&
+ irqdesc(irq)->action)
i8259_unmask_irq(irq);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)