aboutsummaryrefslogtreecommitdiff
path: root/arch/h8300/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/h8300/include/asm/ptrace.h')
-rw-r--r--arch/h8300/include/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/h8300/include/asm/ptrace.h b/arch/h8300/include/asm/ptrace.h
index 79c9a91e75ef..c1826b95c5ca 100644
--- a/arch/h8300/include/asm/ptrace.h
+++ b/arch/h8300/include/asm/ptrace.h
@@ -28,5 +28,6 @@
#define current_pt_regs() ((struct pt_regs *) \
(THREAD_SIZE + (unsigned long)current_thread_info()) - 1)
#define signal_pt_regs() ((struct pt_regs *)current->thread.esp0)
+#define current_user_stack_pointer() rdusp()
#endif /* __ASSEMBLY__ */
#endif /* _H8300_PTRACE_H */