diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-21 17:54:01 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-21 17:54:01 +0900 |
commit | 63dc02bde6af1e41d28ebc3774c5f094f362e8c3 (patch) | |
tree | 7978dcdc298421729ea75be54aa86b22b5751948 /arch/sh/kernel/machvec.c | |
parent | 7f47c7189b3e8f19a589f77a3ad169d7b691b582 (diff) | |
download | talos-op-linux-63dc02bde6af1e41d28ebc3774c5f094f362e8c3.tar.gz talos-op-linux-63dc02bde6af1e41d28ebc3774c5f094f362e8c3.zip |
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 <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/machvec.c')
-rw-r--r-- | arch/sh/kernel/machvec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/kernel/machvec.c b/arch/sh/kernel/machvec.c index 3d722e49db08..ec05f491c347 100644 --- a/arch/sh/kernel/machvec.c +++ b/arch/sh/kernel/machvec.c @@ -121,7 +121,4 @@ void __init sh_mv_setup(void) mv_set(irq_demux); mv_set(mode_pins); mv_set(mem_init); - - if (!sh_mv.mv_nr_irqs) - sh_mv.mv_nr_irqs = NR_IRQS; } |