diff options
Diffstat (limited to 'include/asm-x86/ptrace.h')
-rw-r--r-- | include/asm-x86/ptrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/ptrace.h b/include/asm-x86/ptrace.h index 213c97300cb3..51ddb2590870 100644 --- a/include/asm-x86/ptrace.h +++ b/include/asm-x86/ptrace.h | |||
@@ -60,7 +60,7 @@ static inline int v8086_mode(struct pt_regs *regs) | |||
60 | 60 | ||
61 | #define instruction_pointer(regs) ((regs)->eip) | 61 | #define instruction_pointer(regs) ((regs)->eip) |
62 | #define frame_pointer(regs) ((regs)->ebp) | 62 | #define frame_pointer(regs) ((regs)->ebp) |
63 | #define stack_pointer(regs) ((regs)->esp) | 63 | #define stack_pointer(regs) ((unsigned long)(regs)) |
64 | #define regs_return_value(regs) ((regs)->eax) | 64 | #define regs_return_value(regs) ((regs)->eax) |
65 | 65 | ||
66 | extern unsigned long profile_pc(struct pt_regs *regs); | 66 | extern unsigned long profile_pc(struct pt_regs *regs); |