[lantiq]
[openwrt.git] / target / linux / lantiq / patches / 020-genirq_fix.patch
1 --- a/kernel/irq/chip.c
2 +++ b/kernel/irq/chip.c
3 @@ -678,6 +678,9 @@
4  
5         kstat_incr_irqs_this_cpu(irq, desc);
6  
7 +       if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
8 +               return;
9 +
10         if (desc->irq_data.chip->irq_ack)
11                 desc->irq_data.chip->irq_ack(&desc->irq_data);
12