[SPARC64]: Kill all %pstate changes in context switch code.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 6 Feb 2006 05:59:03 +0000 (21:59 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:11:49 +0000 (01:11 -0800)
commit314981ac7177a933319e3c071a5cf0a579205e6e
tree11895da391ba91195d6d7a67debaa32a28c1215e
parent936f482af1743141d637483ec10eb881537c26dc
[SPARC64]: Kill all %pstate changes in context switch code.

They are totally unnecessary because:

1) Interrupts are already disabled when switch_to()
   runs.

2) We don't use hard-coded alternate globals any longer.

This found a case in rtrap, which still assumed alternate
global %g6 was current_thread_info(), and that is fixed
by this changeset as well.

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