diff options
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/processor_32.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/processor_32.h b/arch/sparc/include/asm/processor_32.h index 718e7e014181..2ae67a2e7f3a 100644 --- a/arch/sparc/include/asm/processor_32.h +++ b/arch/sparc/include/asm/processor_32.h | |||
@@ -114,6 +114,7 @@ extern pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); | |||
114 | 114 | ||
115 | extern unsigned long get_wchan(struct task_struct *); | 115 | extern unsigned long get_wchan(struct task_struct *); |
116 | 116 | ||
117 | #define task_pt_regs(tsk) ((tsk)->thread.kregs) | ||
117 | #define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc) | 118 | #define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc) |
118 | #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP]) | 119 | #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP]) |
119 | 120 | ||