From 63dc02bde6af1e41d28ebc3774c5f094f362e8c3 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Mon, 21 May 2012 17:54:01 +0900 Subject: sh: Kill off machvec IRQ hinting. Everything is using sparseirq these days, so we have no need to arbitrarily size nr_irqs ahead of time. The legacy IRQ pre-allocation likewise has no meaning for us, so that's killed off too. We now depend on nr_irqs expansion by the generic hardirq layer instead. It's also worth noting that the majority of boards had completely bogus values for their nr_irqs relative to their CPU and configurations, so this ends up correcting behaviour for quite a few platforms. Signed-off-by: Paul Mundt --- arch/sh/boards/mach-sh03/setup.c | 1 - 1 file changed, 1 deletion(-) (limited to 'arch/sh/boards/mach-sh03/setup.c') diff --git a/arch/sh/boards/mach-sh03/setup.c b/arch/sh/boards/mach-sh03/setup.c index d4f79b2a6514..f582dab59343 100644 --- a/arch/sh/boards/mach-sh03/setup.c +++ b/arch/sh/boards/mach-sh03/setup.c @@ -101,6 +101,5 @@ device_initcall(sh03_devices_setup); static struct sh_machine_vector mv_sh03 __initmv = { .mv_name = "Interface (CTP/PCI-SH03)", .mv_setup = sh03_setup, - .mv_nr_irqs = 48, .mv_init_irq = init_sh03_IRQ, }; -- cgit v1.2.1