patch-2.3.11 linux/arch/arm/kernel/entry-common.S

Next file: linux/arch/arm/kernel/head-armv.S
Previous file: linux/arch/arm/kernel/entry-armv.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.10/linux/arch/arm/kernel/entry-common.S linux/arch/arm/kernel/entry-common.S
@@ -132,7 +132,8 @@
 SYMBOL_NAME(sys_syscall):
 		eor	r6, r0, #OS_NUMBER << 20
 		cmp	r6, #NR_syscalls	@ check range
-		ldmleib	sp, {r0 - r4}		@ get our args
+		add	ip, sp, #4
+		ldmleib	ip, {r0 - r4}		@ get our args
 		strle	r4, [sp]		@ Put our arg on the stack
 		ldrle	pc, [r5, r6, lsl #2]
 		mov	r0, #-ENOSYS

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