Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / cris / include / asm / ptrace.h
blobd69295f1a7c8f9b7d12a23ccd5d6fb67bb7cbde2
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _CRIS_PTRACE_H
3 #define _CRIS_PTRACE_H
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 */