sparc32: Restore SMP build and rectify sun4m NMI when non-SMP.
authorDavid S. Miller <davem@davemloft.net>
Sat, 12 May 2012 04:23:05 +0000 (21:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 May 2012 04:23:05 +0000 (21:23 -0700)
commit96061a91a1265d2f8dae6f4a6064bd77faec4df5
tree4fe080ca676f05f8f0fa979fed88e47d5e7b23c1
parent716a5d73a787a3d1f6e2bd8ce34a788bb8bf368f
sparc32: Restore SMP build and rectify sun4m NMI when non-SMP.

The non-SMP sun4m NMI handler was still accessing SUN4C registers.

Fix that and share the sun4m NMI trap code between SMP and non-SMP
cases.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/entry.S
arch/sparc/kernel/head_32.S