aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch
blob: ba6372317c6dfb03e74717639fd635443367c649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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);