deptest: Do not clobber the base build and staging dirs
[openwrt/svn-archive/archive.git] / target / linux / ifxmips / patches-2.6.30 / 200-genirq_fix.patch
1 Index: linux-2.6.30.5/kernel/irq/chip.c
2 ===================================================================
3 --- linux-2.6.30.5.orig/kernel/irq/chip.c 2009-09-02 20:09:15.000000000 +0200
4 +++ linux-2.6.30.5/kernel/irq/chip.c 2009-09-02 20:09:25.000000000 +0200
5 @@ -537,6 +537,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