UBIFS: ensure UBIFS switches to read-only on error
[linux-ginger.git] / include / asm-cris / ptrace.h
blobd910925e3174e4bab4d8267b4dd6d0ac34890ffe
1 #ifndef _CRIS_PTRACE_H
2 #define _CRIS_PTRACE_H
4 #include <asm/arch/ptrace.h>
6 #ifdef __KERNEL__
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)
14 #endif /* __KERNEL__ */
16 #endif /* _CRIS_PTRACE_H */