Go to the documentation of this file.
11 #ifndef _ASM_C6X_PTRACE_H
12 #define _ASM_C6X_PTRACE_H
14 #include <uapi/asm/ptrace.h>
21 #include <linux/linkage.h>
23 #define user_mode(regs) ((((regs)->tsr) & 0x40) != 0)
25 #define instruction_pointer(regs) ((regs)->pc)
26 #define profile_pc(regs) instruction_pointer(regs)
27 #define user_stack_pointer(regs) ((regs)->sp)