summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/ptrace.h')
-rw-r--r--include/asm-cris/ptrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-cris/ptrace.h b/include/asm-cris/ptrace.h
index 7a8c2880e48..1ec69a7ea83 100644
--- a/include/asm-cris/ptrace.h
+++ b/include/asm-cris/ptrace.h
@@ -9,4 +9,6 @@
#define PTRACE_SETREGS 13
#endif
+#define profile_pc(regs) instruction_pointer(regs)
+
#endif /* _CRIS_PTRACE_H */