diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh4')
-rw-r--r-- | arch/sh/kernel/cpu/sh4/setup-sh7760.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4/setup-sh7760.c b/arch/sh/kernel/cpu/sh4/setup-sh7760.c index 254c5c55ab91..d9bdc931ac09 100644 --- a/arch/sh/kernel/cpu/sh4/setup-sh7760.c +++ b/arch/sh/kernel/cpu/sh4/setup-sh7760.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/serial.h> | 12 | #include <linux/serial.h> |
13 | #include <linux/serial_sci.h> | 13 | #include <linux/serial_sci.h> |
14 | #include <linux/io.h> | ||
14 | 15 | ||
15 | enum { | 16 | enum { |
16 | UNUSED = 0, | 17 | UNUSED = 0, |
@@ -178,10 +179,14 @@ static int __init sh7760_devices_setup(void) | |||
178 | } | 179 | } |
179 | __initcall(sh7760_devices_setup); | 180 | __initcall(sh7760_devices_setup); |
180 | 181 | ||
182 | #define INTC_ICR 0xffd00000UL | ||
183 | #define INTC_ICR_IRLM (1 << 7) | ||
184 | |||
181 | void __init plat_irq_setup_pins(int mode) | 185 | void __init plat_irq_setup_pins(int mode) |
182 | { | 186 | { |
183 | switch (mode) { | 187 | switch (mode) { |
184 | case IRQ_MODE_IRQ: | 188 | case IRQ_MODE_IRQ: |
189 | ctrl_outw(ctrl_inw(INTC_ICR) | INTC_ICR_IRLM, INTC_ICR); | ||
185 | register_intc_controller(&intc_desc_irq); | 190 | register_intc_controller(&intc_desc_irq); |
186 | break; | 191 | break; |
187 | default: | 192 | default: |