patch-2.4.19 linux-2.4.19/arch/ia64/ia32/ia32_entry.S

Next file: linux-2.4.19/arch/ia64/ia32/ia32_ioctl.c
Previous file: linux-2.4.19/arch/ia64/ia32/binfmt_elf32.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/ia64/ia32/ia32_entry.S linux-2.4.19/arch/ia64/ia32/ia32_entry.S
@@ -37,7 +37,7 @@
 	mov loc1=r16				// save ar.pfs across do_fork
 	.body
 	zxt4 out1=in1				// newsp
-	mov out3=0				// stacksize
+	mov out3=16				// stacksize (compensates for 16-byte scratch area)
 	adds out2=IA64_SWITCH_STACK_SIZE+16,sp	// out2 = &regs
 	zxt4 out0=in0				// out0 = clone_flags
 	br.call.sptk.many rp=do_fork
@@ -220,7 +220,7 @@
 	data8 sys32_pipe
 	data8 sys32_times
 	data8 sys32_ni_syscall	  /* old prof syscall holder */
-	data8 sys_brk		  /* 45 */
+	data8 sys32_brk		  /* 45 */
 	data8 sys_setgid	/* 16-bit version */
 	data8 sys_getgid	/* 16-bit version */
 	data8 sys32_signal

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