summaryrefslogtreecommitdiff
path: root/arch/frv/include/asm/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/frv/include/asm/ptrace.h')
-rw-r--r--arch/frv/include/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/frv/include/asm/ptrace.h b/arch/frv/include/asm/ptrace.h
index ef6635ca4ecb..bd534b2d0258 100644
--- a/arch/frv/include/asm/ptrace.h
+++ b/arch/frv/include/asm/ptrace.h
@@ -76,6 +76,7 @@ register struct pt_regs *__frame asm("gr28");
#define user_mode(regs) (!((regs)->psr & PSR_S))
#define instruction_pointer(regs) ((regs)->pc)
#define user_stack_pointer(regs) ((regs)->sp)
+#define current_pt_regs() (__frame)
extern unsigned long user_stack(const struct pt_regs *);
#define profile_pc(regs) ((regs)->pc)