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
-  Lines: 11
-  Date:
2003-08-25 04:44:43.000000000 -0700
-  Orig file: 
linux-2.4.21/include/asm-arm/proc-armv/processor.h
-  Orig date: 
2000-11-27 17:07:59.000000000 -0800
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)