summaryrefslogtreecommitdiff
path: root/target/linux/ifxmips/patches-2.6.33/020-genirq_fix.patch
blob: 0503d0d2ace58a0a3abffb34896e4aed2f7eca69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -650,6 +650,9 @@ handle_percpu_irq(unsigned int irq, stru
 
 	kstat_incr_irqs_this_cpu(irq, desc);
 
+	if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
+		return;
+
 	if (desc->chip->ack)
 		desc->chip->ack(irq);