diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-27 12:43:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-28 02:33:55 +0200 |
commit | ebd3c003335c3af1e3cb43a5955ba02e7ed2984c (patch) | |
tree | 0b2bf3e22448632232fd5a10b3c24ca7a80ffa03 /arch/sparc/include | |
parent | sparc: Add call to tracehook_signal_handler(). (diff) | |
download | linux-ebd3c003335c3af1e3cb43a5955ba02e7ed2984c.tar.xz linux-ebd3c003335c3af1e3cb43a5955ba02e7ed2984c.zip |
sparc: Add task_pt_regs().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-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); 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]) |