diff options
Diffstat (limited to 'arch/sh/kernel/irq.c')
-rw-r--r-- | arch/sh/kernel/irq.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index 063af10ff3c..a3ee9197112 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c | |||
@@ -231,6 +231,14 @@ 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 | nr_irqs = sh_mv.mv_nr_irqs; | ||
238 | return NR_IRQS_LEGACY; | ||
239 | } | ||
240 | #endif | ||
241 | |||
234 | #ifdef CONFIG_HOTPLUG_CPU | 242 | #ifdef CONFIG_HOTPLUG_CPU |
235 | static void route_irq(struct irq_data *data, unsigned int irq, unsigned int cpu) | 243 | static void route_irq(struct irq_data *data, unsigned int irq, unsigned int cpu) |
236 | { | 244 | { |