sparc: Add task_pt_regs().
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b8b751bedc
commit
ebd3c00333
|
@ -114,6 +114,7 @@ extern pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
|
|||
|
||||
extern unsigned long get_wchan(struct task_struct *);
|
||||
|
||||
#define task_pt_regs(tsk) ((tsk)->thread.kregs)
|
||||
#define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc)
|
||||
#define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP])
|
||||
|
||||
|
|
Loading…
Reference in New Issue