[ifxmips] move kernel support to 2.6.28.7
[openwrt-10.03/.git] / target / linux / ifxmips / patches-2.6.28 / 200-genirq_fix.patch
1 --- a/kernel/irq/chip.c
2 +++ b/kernel/irq/chip.c
3 @@ -524,6 +524,9 @@ handle_percpu_irq(unsigned int irq, stru
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->chip->ack)
11                 desc->chip->ack(irq);
12