diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-14 06:50:19 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-19 23:07:39 (GMT) |
commit | 5208ba24e7826519d310474dedaed2f84b0ab6a0 (patch) | |
tree | 096a174031c17e47128918da5d8b609c886ca5e0 /arch/m32r/include | |
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/m32r/include')
-rw-r--r-- | arch/m32r/include/asm/ptrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m32r/include/asm/ptrace.h b/arch/m32r/include/asm/ptrace.h index c4432f1..56795d6 100644 --- a/arch/m32r/include/asm/ptrace.h +++ b/arch/m32r/include/asm/ptrace.h @@ -134,6 +134,7 @@ extern void init_debug_traps(struct task_struct *); #define instruction_pointer(regs) ((regs)->bpc) #define profile_pc(regs) instruction_pointer(regs) +#define user_stack_pointer(regs) ((regs)->spu) extern void withdraw_debug_trap(struct pt_regs *regs); |