diff options
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-shx3.c | 3 | ||||
-rw-r--r-- | drivers/sh/intc/dynamic.c | 8 | ||||
-rw-r--r-- | include/linux/sh_intc.h | 1 |
3 files changed, 0 insertions, 12 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 | ||
495 | void __init plat_irq_setup(void) | 495 | void __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 | ||
diff --git a/drivers/sh/intc/dynamic.c b/drivers/sh/intc/dynamic.c index 5fea1ee8799a..14eb01ef5d72 100644 --- a/drivers/sh/intc/dynamic.c +++ b/drivers/sh/intc/dynamic.c | |||
@@ -55,11 +55,3 @@ void destroy_irq(unsigned int irq) | |||
55 | { | 55 | { |
56 | irq_free_desc(irq); | 56 | irq_free_desc(irq); |
57 | } | 57 | } |
58 | |||
59 | void reserve_intc_vectors(struct intc_vect *vectors, unsigned int nr_vecs) | ||
60 | { | ||
61 | int i; | ||
62 | |||
63 | for (i = 0; i < nr_vecs; i++) | ||
64 | irq_reserve_irq(evt2irq(vectors[i].vect)); | ||
65 | } | ||
diff --git a/include/linux/sh_intc.h b/include/linux/sh_intc.h index 6aed0805927f..32383285da68 100644 --- a/include/linux/sh_intc.h +++ b/include/linux/sh_intc.h | |||
@@ -133,7 +133,6 @@ struct intc_desc symbol __initdata = { \ | |||
133 | } | 133 | } |
134 | 134 | ||
135 | int register_intc_controller(struct intc_desc *desc); | 135 | int register_intc_controller(struct intc_desc *desc); |
136 | void reserve_intc_vectors(struct intc_vect *vectors, unsigned int nr_vecs); | ||
137 | int intc_set_priority(unsigned int irq, unsigned int prio); | 136 | int intc_set_priority(unsigned int irq, unsigned int prio); |
138 | int intc_irq_lookup(const char *chipname, intc_enum enum_id); | 137 | int intc_irq_lookup(const char *chipname, intc_enum enum_id); |
139 | void intc_finalize(void); | 138 | void intc_finalize(void); |