patch-2.4.21 linux-2.4.21/arch/sparc64/kernel/trampoline.S
Next file: linux-2.4.21/arch/sparc64/kernel/traps.c
Previous file: linux-2.4.21/arch/sparc64/kernel/time.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/sparc64/kernel/trampoline.S
- Orig date:
2002-11-28 15:53:12.000000000 -0800
diff -urN linux-2.4.20/arch/sparc64/kernel/trampoline.S linux-2.4.21/arch/sparc64/kernel/trampoline.S
@@ -85,7 +85,10 @@
startup_continue:
wrpr %g0, 15, %pil
- wr %g0, 0, %tick_cmpr
+
+ sethi %hi(0x80000000), %g2
+ sllx %g2, 32, %g2
+ wr %g2, 0, %tick_cmpr
/* Call OBP by hand to lock KERNBASE into i/d tlbs. */
mov %o0, %l0
@@ -195,7 +198,7 @@
mov 1, %g5
sllx %g5, THREAD_SHIFT, %g5
- sub %g5, (REGWIN_SZ + STACK_BIAS), %g5
+ sub %g5, (STACKFRAME_SZ + STACK_BIAS), %g5
add %g6, %g5, %sp
mov 0, %fp
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)