diff options
-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 878532b61762..3d09062f4682 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c | |||
@@ -279,3 +279,11 @@ void __init init_IRQ(void) | |||
279 | 279 | ||
280 | irq_ctx_init(smp_processor_id()); | 280 | irq_ctx_init(smp_processor_id()); |
281 | } | 281 | } |
282 | |||
283 | #ifdef CONFIG_SPARSE_IRQ | ||
284 | int __init arch_probe_nr_irqs(void) | ||
285 | { | ||
286 | nr_irqs = sh_mv.mv_nr_irqs; | ||
287 | return 0; | ||
288 | } | ||
289 | #endif | ||