sparc32, leon: bugfix in LEON SMP interrupt init
authorDaniel Hellstrom <daniel@gaisler.com>
Thu, 9 Jun 2011 02:54:09 +0000 (02:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jun 2011 23:12:34 +0000 (16:12 -0700)
commit10f0d07c51516bd24b040016c6d4304eef05f115
tree1351db454e31234e7a5a247a3323a2e6642b5217
parenta7d82a0a3cd547494294baee7f9764ea44bead73
sparc32, leon: bugfix in LEON SMP interrupt init

During converting per-cpu ticker to genirq layer some
IRQ initialization code was removed by commit
2cf9530420e446bb61f665d02afeb81070106900 ("sparc32,leon:
per-cpu ticker use genirq per-cpu handler").

This patch reintroduces the code at the same place it was
removed from. IRQ12 - IRQ14 will crash on LEON SMP without
this patch because it will run the SUN4M IRQ trap handler.

Reported-by: Jan Andersson <jan@gaisler.com>
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/leon_kernel.c