]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit34ae6ebe0b48070c1e9bc79c427f6c09112a634a
tree11895da391ba91195d6d7a67debaa32a28c1215e
parent2be8206c75284d1dd3a3178adbebb771581c5b68
[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