patch-2.4.21 linux-2.4.21/arch/sparc/kernel/wuf.S

Next file: linux-2.4.21/arch/sparc/mm/fault.c
Previous file: linux-2.4.21/arch/sparc/kernel/wof.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/sparc/kernel/wuf.S linux-2.4.21/arch/sparc/kernel/wuf.S
@@ -138,7 +138,7 @@
 C_LABEL(fwin_mmu_patchme):	b	C_LABEL(sun4c_fwin_stackchk)
 				 andcc	%sp, 0x7, %g0
 
-#define STACK_OFFSET (TASK_UNION_SIZE - TRACEREG_SZ - REGWIN_SZ)
+#define STACK_OFFSET (TASK_UNION_SIZE - TRACEREG_SZ - STACKFRAME_SZ)
 
 fwin_user_stack_is_bolixed:
 	/* LOCATION: Window 'W' */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)