diff options
Diffstat (limited to 'arch/um/include/asm/ptrace-generic.h')
-rw-r--r-- | arch/um/include/asm/ptrace-generic.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/um/include/asm/ptrace-generic.h b/arch/um/include/asm/ptrace-generic.h index 1a7d2757fe05..f605d3c4844c 100644 --- a/arch/um/include/asm/ptrace-generic.h +++ b/arch/um/include/asm/ptrace-generic.h | |||
@@ -23,17 +23,10 @@ struct pt_regs { | |||
23 | #define PT_REGS_IP(r) UPT_IP(&(r)->regs) | 23 | #define PT_REGS_IP(r) UPT_IP(&(r)->regs) |
24 | #define PT_REGS_SP(r) UPT_SP(&(r)->regs) | 24 | #define PT_REGS_SP(r) UPT_SP(&(r)->regs) |
25 | 25 | ||
26 | #define PT_REG(r, reg) UPT_REG(&(r)->regs, reg) | ||
27 | #define PT_REGS_SET(r, reg, val) UPT_SET(&(r)->regs, reg, val) | ||
28 | |||
29 | #define PT_REGS_SET_SYSCALL_RETURN(r, res) \ | ||
30 | UPT_SET_SYSCALL_RETURN(&(r)->regs, res) | ||
31 | #define PT_REGS_RESTART_SYSCALL(r) UPT_RESTART_SYSCALL(&(r)->regs) | 26 | #define PT_REGS_RESTART_SYSCALL(r) UPT_RESTART_SYSCALL(&(r)->regs) |
32 | 27 | ||
33 | #define PT_REGS_SYSCALL_NR(r) UPT_SYSCALL_NR(&(r)->regs) | 28 | #define PT_REGS_SYSCALL_NR(r) UPT_SYSCALL_NR(&(r)->regs) |
34 | 29 | ||
35 | #define PT_REGS_SC(r) UPT_SC(&(r)->regs) | ||
36 | |||
37 | #define instruction_pointer(regs) PT_REGS_IP(regs) | 30 | #define instruction_pointer(regs) PT_REGS_IP(regs) |
38 | 31 | ||
39 | struct task_struct; | 32 | struct task_struct; |