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

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

diff -urN linux-2.4.21/include/asm-arm/proc-armo/processor.h linux-2.4.22/include/asm-arm/proc-armo/processor.h
@@ -57,7 +57,7 @@
 	uaccess_t	*uaccess;		/* User access functions*/
 
 #define EXTRA_THREAD_STRUCT_INIT		\
-	uaccess:	&uaccess_kernel,
+	.uaccess	= &uaccess_kernel,
 
 #define start_thread(regs,pc,sp)					\
 ({									\
@@ -71,8 +71,8 @@
 	regs->ARM_r0 = stack[0];	/* r0 (argc) */			\
 })
 
-#define KSTK_EIP(tsk)	(((unsigned long *)(4096+(unsigned long)(tsk)))[1022])
-#define KSTK_ESP(tsk)	(((unsigned long *)(4096+(unsigned long)(tsk)))[1020])
+#define KSTK_EIP(tsk)	(((unsigned long *)(4096+(unsigned long)(tsk)))[1020])
+#define KSTK_ESP(tsk)	(((unsigned long *)(4096+(unsigned long)(tsk)))[1018])
 
 /* 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)