summaryrefslogtreecommitdiff
path: root/target/linux/atheros/files/arch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-10-18 18:27:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-10-18 18:27:33 +0000
commit3acb27cdd701027dc79fbb2409f1a6275165ed6e (patch)
treeac7008d5055df855f31ca215b93ea645c724da54 /target/linux/atheros/files/arch
parent96da91f5e07760958d4349b1cfd4e263da867fe7 (diff)
downloadmtk-20170518-3acb27cdd701027dc79fbb2409f1a6275165ed6e.zip
mtk-20170518-3acb27cdd701027dc79fbb2409f1a6275165ed6e.tar.gz
mtk-20170518-3acb27cdd701027dc79fbb2409f1a6275165ed6e.tar.bz2
don't dispatch spurious irq0 events
SVN-Revision: 9347
Diffstat (limited to 'target/linux/atheros/files/arch')
-rw-r--r--target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c2
-rw-r--r--target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c b/target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c
index c5062ba..ac52d9e 100644
--- a/target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c
+++ b/target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c
@@ -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);
}
diff --git a/target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c b/target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c
index eb2e1a7..750c905 100644
--- a/target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c
+++ b/target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c
@@ -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)