aboutsummaryrefslogtreecommitdiff
path: root/arch/mn10300/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/include/asm/ptrace.h')
-rw-r--r--arch/mn10300/include/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mn10300/include/asm/ptrace.h b/arch/mn10300/include/asm/ptrace.h
index 44251b974f1..08ac856c053 100644
--- a/arch/mn10300/include/asm/ptrace.h
+++ b/arch/mn10300/include/asm/ptrace.h
@@ -86,6 +86,7 @@ struct pt_regs {
#define user_mode(regs) (((regs)->epsw & EPSW_nSL) == EPSW_nSL)
#define instruction_pointer(regs) ((regs)->pc)
#define user_stack_pointer(regs) ((regs)->sp)
+#define current_pt_regs() current_frame()
#define arch_has_single_step() (1)