From 2276a0a9a6c41e6b7a77c47637850e10bce26fe7 Mon Sep 17 00:00:00 2001 From: Luca Santini Date: Mon, 8 Sep 2008 11:54:56 +0900 Subject: [PATCH] --- yaml --- r: 116099 b: refs/heads/master c: 53abf911fa6753dfbd6775ae541fb2f8b9f5b825 h: refs/heads/master i: 116097: 391be440693dc43265a7b60c0b240cb693ed839a 116095: 251e67e40759aea18f55e265477c48c5558d6988 v: v3 --- [refs] | 2 +- trunk/arch/sh/kernel/cpu/sh4/setup-sh7760.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 978c3514fc25..ad7bace60e3e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 205a3b4328de1c8ddd99ddd5092bed1344068213 +refs/heads/master: 53abf911fa6753dfbd6775ae541fb2f8b9f5b825 diff --git a/trunk/arch/sh/kernel/cpu/sh4/setup-sh7760.c b/trunk/arch/sh/kernel/cpu/sh4/setup-sh7760.c index 254c5c55ab91..d9bdc931ac09 100644 --- a/trunk/arch/sh/kernel/cpu/sh4/setup-sh7760.c +++ b/trunk/arch/sh/kernel/cpu/sh4/setup-sh7760.c @@ -11,6 +11,7 @@ #include #include #include +#include enum { UNUSED = 0, @@ -178,10 +179,14 @@ static int __init sh7760_devices_setup(void) } __initcall(sh7760_devices_setup); +#define INTC_ICR 0xffd00000UL +#define INTC_ICR_IRLM (1 << 7) + void __init plat_irq_setup_pins(int mode) { switch (mode) { case IRQ_MODE_IRQ: + ctrl_outw(ctrl_inw(INTC_ICR) | INTC_ICR_IRLM, INTC_ICR); register_intc_controller(&intc_desc_irq); break; default: