From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- arch/cris/include/asm/ptrace.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 arch/cris/include/asm/ptrace.h (limited to 'arch/cris/include/asm/ptrace.h') diff --git a/arch/cris/include/asm/ptrace.h b/arch/cris/include/asm/ptrace.h new file mode 100644 index 00000000..9e788d04 --- /dev/null +++ b/arch/cris/include/asm/ptrace.h @@ -0,0 +1,14 @@ +#ifndef _CRIS_PTRACE_H +#define _CRIS_PTRACE_H + +#include + + +/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */ +#define PTRACE_GETREGS 12 +#define PTRACE_SETREGS 13 + +#define profile_pc(regs) instruction_pointer(regs) +#define current_user_stack_pointer() rdusp() + +#endif /* _CRIS_PTRACE_H */ -- cgit v1.3.1