Skip to contentSkip to conversation

sh: fix number of interrupts on se7343

PATCH Applied Magnus Damm 1 participant 1 message Dec 4, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 2/6 sh: fix number of interrupts on se7343

From: Magnus Damm <[email protected]>

Fix to make sure that the on-board interrupt sources are included in the interrupt count on se7343.

---

 arch/sh/boards/mach-se/7343/setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/boards/mach-se/7343/setup.c +1 -1
@@ -126,7 +126,7 @@ static void __init sh7343se_setup(char *
 static struct sh_machine_vector mv_7343se __initmv = {
 	.mv_name = "SolutionEngine 7343",
 	.mv_setup = sh7343se_setup,
-	.mv_nr_irqs = 108,
+	.mv_nr_irqs = SE7343_FPGA_IRQ_BASE + SE7343_FPGA_IRQ_NR,
 	.mv_inb = sh7343se_inb,
 	.mv_inw = sh7343se_inw,
 	.mv_inl = sh7343se_inl,