sparc32, sun4m: bugfix in SMP IPI traphandler
authorDaniel Hellstrom <daniel@gaisler.com>
Thu, 9 Jun 2011 02:54:08 +0000 (02:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jun 2011 23:12:34 +0000 (16:12 -0700)
commita7d82a0a3cd547494294baee7f9764ea44bead73
tree4d777ad78a98fbb0d432e07e2f5d1b3d61af5b8b
parent6cb79b3f3ba2b14590cac02ee13ab7410b6225ed
sparc32, sun4m: bugfix in SMP IPI traphandler

Three new IPIs were introduced by commit
ecbc42b70acbc6327adefe9635db93fcf62bf59d ("sparc32, sun4m:
Implemented SMP IPIs support for SUN4M machines"), the
old handler was already prepared for IPIs but handled only
IRQ14 and IRQ13, this patch adds support for the new IPI at
IRQ12.

The IPI trap handler looks at the mask rather than the
pending IRQ/IPI, this bug may have masked the problem
above, introduced by the same commit.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/entry.S