[SPARC64]: Do not write garbage into %pstate in tsb_context_switch().
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 16 Feb 2006 05:16:42 +0000 (21:16 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:08 +0000 (01:13 -0800)
commita7b31bac691668a60da8b9892124b7da408e0a0e
tree2bdf523086234a5cb9e943e45df879f1f264a516
parentde635d833f61ce0f2ad0b3431e6a3323a1c4fed5
[SPARC64]: Do not write garbage into %pstate in tsb_context_switch().

For SUN4V, we were clobbering %o5 to do the hypervisor call.
This clobbers the saved %pstate value and we end up writing
garbage into that register as a result.  Oops.

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