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