ChangeSet 1.2181.24.7, 2005/03/24 20:48:11-08:00, [EMAIL PROTECTED]
[SPARC64]: Eliminate g5 register usage from switch_to().
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
arch/sparc64/kernel/entry.S | 2 +-
include/asm-sparc64/system.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff -Nru a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S
--- a/arch/sparc64/kernel/entry.S 2005-04-03 21:12:34 -07:00
+++ b/arch/sparc64/kernel/entry.S 2005-04-03 21:12:34 -07:00
@@ -1642,7 +1642,7 @@
andn %o7, _TIF_NEWCHILD, %l0
stx %l0, [%g6 + TI_FLAGS]
call schedule_tail
- mov %g5, %o0
+ mov %g7, %o0
andcc %l0, _TIF_PERFCTR, %g0
be,pt %icc, 1f
nop
diff -Nru a/include/asm-sparc64/system.h b/include/asm-sparc64/system.h
--- a/include/asm-sparc64/system.h 2005-04-03 21:12:34 -07:00
+++ b/include/asm-sparc64/system.h 2005-04-03 21:12:34 -07:00
@@ -182,7 +182,7 @@
__asm__ __volatile__("wr %%g0, %0, %%asi" \
: : "r"
(__thread_flag_byte_ptr(next->thread_info)[TI_FLAG_BYTE_CURRENT_DS]));\
__asm__ __volatile__( \
- "mov %%g4, %%g5\n\t" \
+ "mov %%g4, %%g7\n\t" \
"wrpr %%g0, 0x95, %%pstate\n\t" \
"stx %%i6, [%%sp + 2047 + 0x70]\n\t" \
"stx %%i7, [%%sp + 2047 + 0x78]\n\t" \
@@ -207,7 +207,7 @@
"wrpr %%g0, 0x96, %%pstate\n\t" \
"andcc %%o7, %6, %%g0\n\t" \
"beq,pt %%icc, 1f\n\t" \
- " mov %%g5, %0\n\t" \
+ " mov %%g7, %0\n\t" \
"b,a ret_from_syscall\n\t" \
"1:\n\t" \
: "=&r" (last) \
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html