[SPARC64]: Fix return from trap on SUN4V.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 17 Feb 2006 00:23:45 +0000 (16:23 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:19 +0000 (01:13 -0800)
commitaf02bec66294c76fba181c665c68a31fd4392020
treef741bdd782c719cba6dd8efe01f107a46d115a27
parent4ff7ac417d4b628c23df3ae8301d17e29e6e8f16
[SPARC64]: Fix return from trap on SUN4V.

We need to set the global register set _AND_ disable
PSTATE_IE in %pstate.  The original patch sequence was
leaving PSTATE_IE enabled when returning to kernel mode,
oops.

This fixes the random register corruption being seen
on SUN4V.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/rtrap.S