diff options
Diffstat (limited to 'arch/alpha/include/asm/ptrace.h')
-rw-r--r-- | arch/alpha/include/asm/ptrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/ptrace.h b/arch/alpha/include/asm/ptrace.h index b4c5b2fbb64..fd53c74ac94 100644 --- a/arch/alpha/include/asm/ptrace.h +++ b/arch/alpha/include/asm/ptrace.h | |||
@@ -72,6 +72,7 @@ struct switch_stack { | |||
72 | #define user_mode(regs) (((regs)->ps & 8) != 0) | 72 | #define user_mode(regs) (((regs)->ps & 8) != 0) |
73 | #define instruction_pointer(regs) ((regs)->pc) | 73 | #define instruction_pointer(regs) ((regs)->pc) |
74 | #define profile_pc(regs) instruction_pointer(regs) | 74 | #define profile_pc(regs) instruction_pointer(regs) |
75 | #define current_user_stack_pointer() rdusp() | ||
75 | 76 | ||
76 | #define task_pt_regs(task) \ | 77 | #define task_pt_regs(task) \ |
77 | ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1) | 78 | ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1) |