]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef _CRIS_PTRACE_H |
3 | #define _CRIS_PTRACE_H | |
4 | ||
e717abac | 5 | #include <uapi/asm/ptrace.h> |
1da177e4 | 6 | |
f22ab814 | 7 | |
1da177e4 LT |
8 | /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */ |
9 | #define PTRACE_GETREGS 12 | |
10 | #define PTRACE_SETREGS 13 | |
1da177e4 | 11 | |
21783c97 | 12 | #define profile_pc(regs) instruction_pointer(regs) |
1ca97bb5 | 13 | #define current_user_stack_pointer() rdusp() |
21783c97 | 14 | |
1da177e4 | 15 | #endif /* _CRIS_PTRACE_H */ |