diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-14 10:50:19 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-20 03:07:39 +0400 |
commit | 5208ba24e7826519d310474dedaed2f84b0ab6a0 (patch) | |
tree | 096a174031c17e47128918da5d8b609c886ca5e0 /arch/mips/include/asm | |
parent | ae903caae267154de7cf8576b130ff474630596b (diff) | |
download | linux-5208ba24e7826519d310474dedaed2f84b0ab6a0.tar.xz |
missing user_stack_pointer() instances
for the architectures that have usp in pt_regs and do not have
user_stack_pointer() already defined.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/ptrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/ptrace.h b/arch/mips/include/asm/ptrace.h index cec5e125f7e4..a3186f2bb8a0 100644 --- a/arch/mips/include/asm/ptrace.h +++ b/arch/mips/include/asm/ptrace.h @@ -49,6 +49,7 @@ static inline long regs_return_value(struct pt_regs *regs) #define instruction_pointer(regs) ((regs)->cp0_epc) #define profile_pc(regs) instruction_pointer(regs) +#define user_stack_pointer(r) ((r)->regs[29]) extern asmlinkage void syscall_trace_enter(struct pt_regs *regs); extern asmlinkage void syscall_trace_leave(struct pt_regs *regs); |