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

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

diff -urN linux-2.4.20/arch/sparc/kernel/wof.S linux-2.4.21/arch/sparc/kernel/wof.S
@@ -234,7 +234,7 @@
 spnwin_patch3:	and	%twin_tmp, 0xff, %twin_tmp	! patched on 7win Sparcs
 		st	%twin_tmp, [%curptr + AOFF_task_thread + AOFF_thread_uwinmask]
 
-#define STACK_OFFSET	(TASK_UNION_SIZE - TRACEREG_SZ - REGWIN_SZ)
+#define STACK_OFFSET (TASK_UNION_SIZE - TRACEREG_SZ - STACKFRAME_SZ)
 
 	sethi	%hi(STACK_OFFSET), %sp
 	or	%sp, %lo(STACK_OFFSET), %sp

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