patch-2.4.21 linux-2.4.21/arch/sparc/kernel/trampoline.S
Next file: linux-2.4.21/arch/sparc/kernel/traps.c
Previous file: linux-2.4.21/arch/sparc/kernel/time.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/sparc/kernel/trampoline.S
- Orig date:
1999-08-04 16:36:41.000000000 -0700
diff -urN linux-2.4.20/arch/sparc/kernel/trampoline.S linux-2.4.21/arch/sparc/kernel/trampoline.S
@@ -63,8 +63,8 @@
and %g4, 0xc, %g4
ld [%g5 + %g4], %g6
- sethi %hi(TASK_UNION_SIZE - REGWIN_SZ), %sp
- or %sp, %lo(TASK_UNION_SIZE - REGWIN_SZ), %sp
+ sethi %hi(TASK_UNION_SIZE - STACKFRAME_SZ), %sp
+ or %sp, %lo(TASK_UNION_SIZE - STACKFRAME_SZ), %sp
add %g6, %sp, %sp
/* Turn on traps (PSR_ET). */
@@ -140,8 +140,8 @@
srl %g3, 1, %g4
ld [%g5 + %g4], %g6
- sethi %hi(TASK_UNION_SIZE - REGWIN_SZ), %sp
- or %sp, %lo(TASK_UNION_SIZE - REGWIN_SZ), %sp
+ sethi %hi(TASK_UNION_SIZE - STACKFRAME_SZ), %sp
+ or %sp, %lo(TASK_UNION_SIZE - STACKFRAME_SZ), %sp
add %g6, %sp, %sp
/* Turn on traps (PSR_ET). */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)