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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-cris/ptrace.h b/include/asm-cris/ptrace.h
new file mode 100644
index 000000000000..7a8c2880e487
--- /dev/null
+++ b/include/asm-cris/ptrace.h
@@ -0,0 +1,12 @@
+#ifndef _CRIS_PTRACE_H
+#define _CRIS_PTRACE_H
+
+#include <asm/arch/ptrace.h>
+
+#ifdef __KERNEL__
+/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
+#define PTRACE_GETREGS 12
+#define PTRACE_SETREGS 13
+#endif
+
+#endif /* _CRIS_PTRACE_H */