patch-2.1.30 linux/fs/proc/array.c
Next file: linux/fs/proc/fd.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Mar 20 17:11:52 1997
- Orig file:
v2.1.29/linux/fs/proc/array.c
- Orig date:
Tue Jan 28 00:02:45 1997
diff -u --recursive --new-file v2.1.29/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -505,6 +505,9 @@
eip = ((struct pt_regs *) (tsk)->tss.esp0)->pc; \
eip; })
#define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->tss.usp)
+#elif defined (__sparc_v9__)
+# define KSTK_EIP(tsk) ((tsk)->tss.kregs->tpc)
+# define KSTK_ESP(tsk) ((tsk)->tss.kregs->u_regs[UREG_FP])
#elif defined(__sparc__)
# define KSTK_EIP(tsk) ((tsk)->tss.kregs->pc)
# define KSTK_ESP(tsk) ((tsk)->tss.kregs->u_regs[UREG_FP])
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]