patch-2.4.22 linux-2.4.22/include/asm-arm/proc-armv/processor.h

Next file: linux-2.4.22/include/asm-arm/proc-armv/system.h
Previous file: linux-2.4.22/include/asm-arm/proc-armv/locks.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-arm/proc-armv/processor.h linux-2.4.22/include/asm-arm/proc-armv/processor.h
@@ -61,8 +61,8 @@
 	regs->ARM_r0 = stack[0];	/* r0 (argc) */			\
 })
 
-#define KSTK_EIP(tsk)	(((unsigned long *)(4096+(unsigned long)(tsk)))[1021])
-#define KSTK_ESP(tsk)	(((unsigned long *)(4096+(unsigned long)(tsk)))[1019])
+#define KSTK_EIP(tsk)	(((unsigned long *)(4096+(unsigned long)(tsk)))[1019])
+#define KSTK_ESP(tsk)	(((unsigned long *)(4096+(unsigned long)(tsk)))[1017])
 
 /* Allocation and freeing of basic task resources. */
 /*

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