don't dispatch spurious irq0 events
authorFelix Fietkau <nbd@openwrt.org>
Thu, 18 Oct 2007 18:27:33 +0000 (18:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 18 Oct 2007 18:27:33 +0000 (18:27 +0000)
SVN-Revision: 9347

target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c
target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c

index c5062ba..ac52d9e 100644 (file)
@@ -62,8 +62,6 @@ asmlinkage void ar5312_irq_dispatch(void)
        } else if (pending & CAUSEF_IP7) {
                do_IRQ(AR531X_IRQ_CPU_CLOCK);
        }
-       else
-               do_IRQ(AR531X_IRQ_NONE);
 }
 
 
index eb2e1a7..750c905 100644 (file)
@@ -76,8 +76,6 @@ asmlinkage void ar5315_irq_dispatch(void)
                        do_IRQ(AR531X_MISC_IRQ_NONE);
        } else if (pending & CAUSEF_IP7)
                do_IRQ(AR531X_IRQ_CPU_CLOCK);
-       else
-               do_IRQ(AR531X_IRQ_NONE);
 }
 
 static void ar5315_gpio_intr_enable(unsigned int irq)