]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/cris/include/asm/ptrace.h
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / arch / cris / include / asm / ptrace.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _CRIS_PTRACE_H
3 #define _CRIS_PTRACE_H
4
5 #include <uapi/asm/ptrace.h>
6
7
8 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
9 #define PTRACE_GETREGS 12
10 #define PTRACE_SETREGS 13
11
12 #define profile_pc(regs) instruction_pointer(regs)
13 #define current_user_stack_pointer() rdusp()
14
15 #endif /* _CRIS_PTRACE_H */