[ifxmips] cleanup sources and prepare for 2.6.27
[openwrt-10.03/.git] / target / linux / ifxmips / patches-2.6.27 / 200-genirq_fix.patch
1 --- a/kernel/irq/chip.c
2 +++ b/kernel/irq/chip.c
3 @@ -526,6 +526,9 @@ handle_percpu_irq(unsigned int irq, stru
4  
5         kstat_this_cpu.irqs[irq]++;
6  
7 +       if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
8 +               return;
9 +
10         if (desc->chip->ack)
11                 desc->chip->ack(irq);
12