aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-05-22 06:07:55 -0400
committerPaul Mundt <lethal@linux-sh.org>2012-05-22 06:07:55 -0400
commit5f19f14fed7786652b9617c633db101d26a42251 (patch)
tree8796acab6d527fe6e64fe9aee39fa611d7ad082b /arch/sh
parentc30b9c432ebb8951aa20fe825b5b8f1651628e3c (diff)
sh: intc: Kill off special reservation interface.
At present reserving the IRLs in the IRQ bitmap in addition to the dropping of the legacy IRQ pre-allocation prevent IRL IRQs from being allocated for the x3proto board. The only reason to permit reservations was to lock down possible hardware vectors prior to dynamic IRQ scanning, but this doesn't matter much given that the hardware controller configuration is sorted before we get around to doing any dynamic IRQ allocation anyways. Beyond that, all of the tables are __init annotated, so quite a bit more work would need to be done to support reconfiguring things like IRL controllers on the fly, much more than would ever make it worth the hassle. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-shx3.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-shx3.c b/arch/sh/kernel/cpu/sh4a/setup-shx3.c
index 7ca7dd20fb08..688f7ed1bab1 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-shx3.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-shx3.c
@@ -494,9 +494,6 @@ void __init plat_irq_setup_pins(int mode)
494 494
495void __init plat_irq_setup(void) 495void __init plat_irq_setup(void)
496{ 496{
497 reserve_intc_vectors(vectors_irq, ARRAY_SIZE(vectors_irq));
498 reserve_intc_vectors(vectors_irl, ARRAY_SIZE(vectors_irl));
499
500 register_intc_controller(&intc_desc); 497 register_intc_controller(&intc_desc);
501} 498}
502 499