diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2010-07-23 21:22:13 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:23 -0400 |
commit | b8c7428af023c4cc37b8651e309713c1f4d9a18e (patch) | |
tree | b3ed6ba799a19e545696759722b0722072202506 /arch/mips/loongson/common/irq.c | |
parent | 4c076fb41ac93bc0cbd55f2a731cc31337804acb (diff) |
MIPS: Loongson: Remove set_irq_trigger_mode()
set_irq_trigger_mode() is not needed on all platforms so remove it
and move the related source code to mach_init_irq().
This will allow gdium to share the common irq.c without adding an empty
set_irq_trigger_mode().
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1493/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/loongson/common/irq.c')
-rw-r--r-- | arch/mips/loongson/common/irq.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/loongson/common/irq.c b/arch/mips/loongson/common/irq.c index 25a11df03482..5897471dedca 100644 --- a/arch/mips/loongson/common/irq.c +++ b/arch/mips/loongson/common/irq.c | |||
@@ -53,9 +53,6 @@ void __init arch_init_irq(void) | |||
53 | */ | 53 | */ |
54 | clear_c0_status(ST0_IM | ST0_BEV); | 54 | clear_c0_status(ST0_IM | ST0_BEV); |
55 | 55 | ||
56 | /* setting irq trigger mode */ | ||
57 | set_irq_trigger_mode(); | ||
58 | |||
59 | /* no steer */ | 56 | /* no steer */ |
60 | LOONGSON_INTSTEER = 0; | 57 | LOONGSON_INTSTEER = 0; |
61 | 58 | ||