openwrtv3/target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch
Thomas Langer 7570eebcdd cleanup sources and prepare for 2.6.27
SVN-Revision: 13660
2008-12-16 14:07:55 +00:00

12 lines
270 B
Diff

--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -526,6 +526,9 @@ handle_percpu_irq(unsigned int irq, stru
kstat_this_cpu.irqs[irq]++;
+ if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
+ return;
+
if (desc->chip->ack)
desc->chip->ack(irq);