diff options
Diffstat (limited to 'arch/sh/kernel/irq.c')
-rw-r--r-- | arch/sh/kernel/irq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index 257de1f0692b..9dc447db8a44 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c | |||
@@ -283,6 +283,8 @@ void __init init_IRQ(void) | |||
283 | if (sh_mv.mv_init_irq) | 283 | if (sh_mv.mv_init_irq) |
284 | sh_mv.mv_init_irq(); | 284 | sh_mv.mv_init_irq(); |
285 | 285 | ||
286 | intc_finalize(); | ||
287 | |||
286 | irq_ctx_init(smp_processor_id()); | 288 | irq_ctx_init(smp_processor_id()); |
287 | } | 289 | } |
288 | 290 | ||
@@ -290,7 +292,7 @@ void __init init_IRQ(void) | |||
290 | int __init arch_probe_nr_irqs(void) | 292 | int __init arch_probe_nr_irqs(void) |
291 | { | 293 | { |
292 | nr_irqs = sh_mv.mv_nr_irqs; | 294 | nr_irqs = sh_mv.mv_nr_irqs; |
293 | return 0; | 295 | return NR_IRQS_LEGACY; |
294 | } | 296 | } |
295 | #endif | 297 | #endif |
296 | 298 | ||