summaryrefslogtreecommitdiffstats
path: root/arch/m32r/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m32r/include/asm/ptrace.h')
-rw-r--r--arch/m32r/include/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m32r/include/asm/ptrace.h b/arch/m32r/include/asm/ptrace.h
index ba487c554dbb..fa58ccfff865 100644
--- a/arch/m32r/include/asm/ptrace.h
+++ b/arch/m32r/include/asm/ptrace.h
@@ -32,6 +32,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);