patch-2.4.21 linux-2.4.21/arch/sparc64/kernel/winfixup.S
Next file: linux-2.4.21/arch/sparc64/mm/ultra.S
Previous file: linux-2.4.21/arch/sparc64/kernel/traps.c
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/sparc64/kernel/winfixup.S
- Orig date:
2000-03-27 10:35:56.000000000 -0800
diff -urN linux-2.4.20/arch/sparc64/kernel/winfixup.S linux-2.4.21/arch/sparc64/kernel/winfixup.S
@@ -81,7 +81,7 @@
* since we must preserve %l5 and %l6, see comment above.
*/
call do_sparc64_fault
- add %sp, STACK_BIAS + REGWIN_SZ, %o0
+ add %sp, PTREGS_OFF, %o0
ba,pt %xcc, rtrap
nop ! yes, nop is correct
@@ -159,7 +159,7 @@
ba,pt %xcc, etrap
rd %pc, %g7
call do_sparc64_fault
- add %sp, STACK_BIAS + REGWIN_SZ, %o0
+ add %sp, PTREGS_OFF, %o0
ba,a,pt %xcc, rtrap_clr_l6
.globl winfix_mna, fill_fixup_mna, spill_fixup_mna
@@ -199,7 +199,7 @@
mov %o7, %g6 ! Get current back.
sllx %g4, 32, %g4 ! Finish it.
call mem_address_unaligned
- add %sp, STACK_BIAS + REGWIN_SZ, %o0
+ add %sp, PTREGS_OFF, %o0
b,pt %xcc, rtrap
nop ! yes, the nop is correct
@@ -260,7 +260,7 @@
mov %l4, %o2
mov %l5, %o1
call mem_address_unaligned
- add %sp, STACK_BIAS + REGWIN_SZ, %o0
+ add %sp, PTREGS_OFF, %o0
ba,pt %xcc, rtrap
clr %l6
@@ -306,7 +306,7 @@
mov %o7, %g6 ! Get current back.
sllx %g4, 32, %g4 ! Finish it.
call data_access_exception
- add %sp, STACK_BIAS + REGWIN_SZ, %o0
+ add %sp, PTREGS_OFF, %o0
b,pt %xcc, rtrap
nop ! yes, the nop is correct
@@ -367,7 +367,7 @@
mov %l4, %o1
mov %l5, %o2
call data_access_exception
- add %sp, STACK_BIAS + REGWIN_SZ, %o0
+ add %sp, PTREGS_OFF, %o0
ba,pt %xcc, rtrap
clr %l6
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)