From: David S. Miller Date: Sun, 27 Jul 2008 10:43:51 +0000 (-0700) Subject: sparc: Add task_pt_regs(). X-Git-Tag: v2.6.27-rc1~32^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ebd3c003335c3af1e3cb43a5955ba02e7ed2984c;p=linux-2.6-omap-h63xx.git sparc: Add task_pt_regs(). Signed-off-by: David S. Miller --- diff --git a/arch/sparc/include/asm/processor_32.h b/arch/sparc/include/asm/processor_32.h index 718e7e01418..2ae67a2e7f3 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); 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])