1#ifndef _CRIS_PTRACE_H
2#define _CRIS_PTRACE_H
3
4#include <uapi/asm/ptrace.h>
5
6
7/* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
8#define PTRACE_GETREGS            12
9#define PTRACE_SETREGS            13
10
11#define profile_pc(regs) instruction_pointer(regs)
12#define current_user_stack_pointer() rdusp()
13
14#endif /* _CRIS_PTRACE_H */
15