diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-02 22:02:07 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-02 22:02:07 +0900 |
commit | 4bacd796ccd6976b03dd490708a1abc291d5521e (patch) | |
tree | 0c0c1d242940e9fdf83952a821a20e2bdcdf0927 /arch/sh/kernel/cpu/sh4a/setup-shx3.c | |
parent | 742759eae6b58a172d8f79ff0938d1e25dc9abc5 (diff) | |
download | blackbird-obmc-linux-4bacd796ccd6976b03dd490708a1abc291d5521e.tar.gz blackbird-obmc-linux-4bacd796ccd6976b03dd490708a1abc291d5521e.zip |
sh: Support early IRQ vector map reservation for delayed controllers.
Some controllers will need to be initialized lazily due to pinmux
constraints, while others may simply have no need to be brought online if
there are no backing devices for them attached. In this case it's still
necessary to be able to reserve their hardware vector map before dynamic
IRQs get a hold of them.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-shx3.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-shx3.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-shx3.c b/arch/sh/kernel/cpu/sh4a/setup-shx3.c index f159ea2cebc7..013f0b144489 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-shx3.c +++ b/arch/sh/kernel/cpu/sh4a/setup-shx3.c @@ -478,6 +478,9 @@ void __init plat_irq_setup_pins(int mode) void __init plat_irq_setup(void) { + reserve_intc_vectors(vectors_irq, ARRAY_SIZE(vectors_irq)); + reserve_intc_vectors(vectors_irl, ARRAY_SIZE(vectors_irl)); + register_intc_controller(&intc_desc); } |