diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-24 00:59:35 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-24 00:59:35 -0400 |
commit | 76b386624576eb00a7c7cad0e713952121708598 (patch) | |
tree | ac35fa182aea2f328d24bf6b3b47c7dca4c994b5 | |
parent | f9369910a6225b8d4892c3f20ae740a711cd5ace (diff) |
sh: Kill off now unused arch_probe_nr_irqs().
Now that legacy pre-allocation is done away with, we can just use the
generic stub in kernel/softirq.c.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/kernel/irq.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index dadce735f746..063af10ff3c1 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c | |||
@@ -231,16 +231,6 @@ void __init init_IRQ(void) | |||
231 | irq_ctx_init(smp_processor_id()); | 231 | irq_ctx_init(smp_processor_id()); |
232 | } | 232 | } |
233 | 233 | ||
234 | #ifdef CONFIG_SPARSE_IRQ | ||
235 | int __init arch_probe_nr_irqs(void) | ||
236 | { | ||
237 | /* | ||
238 | * No pre-allocated IRQs. | ||
239 | */ | ||
240 | return 0; | ||
241 | } | ||
242 | #endif | ||
243 | |||
244 | #ifdef CONFIG_HOTPLUG_CPU | 234 | #ifdef CONFIG_HOTPLUG_CPU |
245 | static void route_irq(struct irq_data *data, unsigned int irq, unsigned int cpu) | 235 | static void route_irq(struct irq_data *data, unsigned int irq, unsigned int cpu) |
246 | { | 236 | { |