diff options
Diffstat (limited to 'arch/score/include/asm/ptrace.h')
-rw-r--r-- | arch/score/include/asm/ptrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/score/include/asm/ptrace.h b/arch/score/include/asm/ptrace.h index e89dc9b1ef49..99cd4efa918e 100644 --- a/arch/score/include/asm/ptrace.h +++ b/arch/score/include/asm/ptrace.h | |||
@@ -83,6 +83,7 @@ struct task_struct; | |||
83 | 83 | ||
84 | #define instruction_pointer(regs) ((unsigned long)(regs)->cp0_epc) | 84 | #define instruction_pointer(regs) ((unsigned long)(regs)->cp0_epc) |
85 | #define profile_pc(regs) instruction_pointer(regs) | 85 | #define profile_pc(regs) instruction_pointer(regs) |
86 | #define user_stack_pointer(r) ((unsigned long)(r)->regs[0]) | ||
86 | 87 | ||
87 | extern void do_syscall_trace(struct pt_regs *regs, int entryexit); | 88 | extern void do_syscall_trace(struct pt_regs *regs, int entryexit); |
88 | extern int read_tsk_long(struct task_struct *, unsigned long, unsigned long *); | 89 | extern int read_tsk_long(struct task_struct *, unsigned long, unsigned long *); |