1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <uapi/asm/ptrace.h>
8 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
9 #define PTRACE_GETREGS 12
10 #define PTRACE_SETREGS 13
12 #define profile_pc(regs) instruction_pointer(regs)
13 #define current_user_stack_pointer() rdusp()
15 #endif /* _CRIS_PTRACE_H */