aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/irq.c')
-rw-r--r--arch/sh/kernel/irq.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c
index a3ee91971129..dadce735f746 100644
--- a/arch/sh/kernel/irq.c
+++ b/arch/sh/kernel/irq.c
@@ -234,8 +234,10 @@ void __init init_IRQ(void)
234#ifdef CONFIG_SPARSE_IRQ 234#ifdef CONFIG_SPARSE_IRQ
235int __init arch_probe_nr_irqs(void) 235int __init arch_probe_nr_irqs(void)
236{ 236{
237 nr_irqs = sh_mv.mv_nr_irqs; 237 /*
238 return NR_IRQS_LEGACY; 238 * No pre-allocated IRQs.
239 */
240 return 0;
239} 241}
240#endif 242#endif
241 243