]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sparc: Add task_pt_regs().
authorDavid S. Miller <davem@davemloft.net>
Sun, 27 Jul 2008 10:43:51 +0000 (03:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jul 2008 00:33:55 +0000 (17:33 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/processor_32.h

index 718e7e01418180186fc183bd1f3988854e9d45bb..2ae67a2e7f3a877c21644cbd83adac3e235ae522 100644 (file)
@@ -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])