1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-13 11:33:42 +03:00
openwrt-xburst/target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch
thl 6ad1668c37 [ifxmips] cleanup sources and prepare for 2.6.27
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-16 14:07:55 +00:00

13 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);