aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/machvec.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-05-21 17:54:01 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-05-21 17:54:01 +0900
commit63dc02bde6af1e41d28ebc3774c5f094f362e8c3 (patch)
tree7978dcdc298421729ea75be54aa86b22b5751948 /arch/sh/include/asm/machvec.h
parentsh: dma: More legacy cpu dma chainsawing. (diff)
downloadlinux-dev-63dc02bde6af1e41d28ebc3774c5f094f362e8c3.tar.xz
linux-dev-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/include/asm/machvec.h')
-rw-r--r--arch/sh/include/asm/machvec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/include/asm/machvec.h b/arch/sh/include/asm/machvec.h
index 57c5c3d0f39f..eb9c20d971dd 100644
--- a/arch/sh/include/asm/machvec.h
+++ b/arch/sh/include/asm/machvec.h
@@ -17,7 +17,6 @@
struct sh_machine_vector {
void (*mv_setup)(char **cmdline_p);
const char *mv_name;
- int mv_nr_irqs;
int (*mv_irq_demux)(int irq);
void (*mv_init_irq)(void);