aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/dec/setup.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-10-25 23:57:04 +0900
committerRalf Baechle <ralf@linux-mips.org>2006-11-30 01:14:49 +0000
commit187933f23679c413706030aefad9e85e79164c44 (patch)
tree8efd558a3cb30a337f16869241a4075831587b3a /arch/mips/dec/setup.c
parent[MIPS] Avoid dupliate D-cache flush on R400C / R4400 SC and MC variants. (diff)
downloadlinux-dev-187933f23679c413706030aefad9e85e79164c44.tar.xz
linux-dev-187933f23679c413706030aefad9e85e79164c44.zip
[MIPS] do_IRQ cleanup
Now we have both function and macro version of do_IRQ() and the former is used only by DEC and non-preemptive kernel. This patch makes everyone use the macro version and removes the function version. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/dec/setup.c')
-rw-r--r--arch/mips/dec/setup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/dec/setup.c b/arch/mips/dec/setup.c
index 6b7481e97bec..d34032ac492a 100644
--- a/arch/mips/dec/setup.c
+++ b/arch/mips/dec/setup.c
@@ -761,3 +761,9 @@ void __init arch_init_irq(void)
if (dec_interrupt[DEC_IRQ_HALT] >= 0)
setup_irq(dec_interrupt[DEC_IRQ_HALT], &haltirq);
}
+
+asmlinkage unsigned int dec_irq_dispatch(unsigned int irq)
+{
+ do_IRQ(irq);
+ return 0;
+}