Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63dc02bd authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 7f47c718
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -74,6 +74,5 @@ device_initcall(init_edosk7705_devices);
 */
static struct sh_machine_vector mv_edosk7705 __initmv = {
	.mv_name		= "EDOSK7705",
	.mv_nr_irqs		= 80,
	.mv_init_irq		= sh_edosk7705_init_irq,
};
+0 −1
Original line number Diff line number Diff line
@@ -188,5 +188,4 @@ device_initcall(init_edosk7760_devices);
 */
struct sh_machine_vector mv_edosk7760 __initmv = {
	.mv_name	= "EDOSK7760",
	.mv_nr_irqs	= 128,
};
+0 −1
Original line number Diff line number Diff line
@@ -141,6 +141,5 @@ static void __init init_polaris_irq(void)

static struct sh_machine_vector mv_polaris __initmv = {
	.mv_name		= "Polaris",
	.mv_nr_irqs		= 61,
	.mv_init_irq		= init_polaris_irq,
};
+0 −1
Original line number Diff line number Diff line
@@ -71,6 +71,5 @@ static void __init init_snapgear_IRQ(void)
 */
static struct sh_machine_vector mv_snapgear __initmv = {
	.mv_name		= "SnapGear SecureEdge5410",
	.mv_nr_irqs		= 72,
	.mv_init_irq		= init_snapgear_IRQ,
};
+0 −1
Original line number Diff line number Diff line
@@ -181,7 +181,6 @@ extern void init_cayman_irq(void);

static struct sh_machine_vector mv_cayman __initmv = {
	.mv_name		= "Hitachi Cayman",
	.mv_nr_irqs		= 64,
	.mv_ioport_map		= cayman_ioport_map,
	.mv_init_irq		= init_cayman_irq,
};
Loading