852729f09263c326541ecb91a20036dd2120f3d3
[openwrt.git] / target / linux / ifxmips / patches-2.6.33 / 020-genirq_fix.patch
1 Index: linux-2.6.33.2/kernel/irq/chip.c
2 ===================================================================
3 --- linux-2.6.33.2.orig/kernel/irq/chip.c       2010-04-02 01:02:33.000000000 +0200
4 +++ linux-2.6.33.2/kernel/irq/chip.c    2010-04-02 23:37:40.000000000 +0200
5 @@ -650,6 +650,9 @@
6  
7         kstat_incr_irqs_this_cpu(irq, desc);
8  
9 +       if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
10 +               return;
11 +
12         if (desc->chip->ack)
13                 desc->chip->ack(irq);
14