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

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)