diff options
Diffstat (limited to 'arch/um/include/sysdep-x86_64/ptrace_user.h')
-rw-r--r-- | arch/um/include/sysdep-x86_64/ptrace_user.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/um/include/sysdep-x86_64/ptrace_user.h b/arch/um/include/sysdep-x86_64/ptrace_user.h index 4cd61a852fab..45c0bd881cb3 100644 --- a/arch/um/include/sysdep-x86_64/ptrace_user.h +++ b/arch/um/include/sysdep-x86_64/ptrace_user.h | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/ptrace.h> | 12 | #include <linux/ptrace.h> |
13 | #include <asm/ptrace.h> | 13 | #include <asm/ptrace.h> |
14 | #undef __FRAME_OFFSETS | 14 | #undef __FRAME_OFFSETS |
15 | #include "user_constants.h" | ||
15 | 16 | ||
16 | #define PT_INDEX(off) ((off) / sizeof(unsigned long)) | 17 | #define PT_INDEX(off) ((off) / sizeof(unsigned long)) |
17 | 18 | ||
@@ -69,6 +70,8 @@ | |||
69 | #define REGS_IP_INDEX PT_INDEX(RIP) | 70 | #define REGS_IP_INDEX PT_INDEX(RIP) |
70 | #define REGS_SP_INDEX PT_INDEX(RSP) | 71 | #define REGS_SP_INDEX PT_INDEX(RSP) |
71 | 72 | ||
73 | #define FP_SIZE (HOST_FP_SIZE) | ||
74 | |||
72 | #endif | 75 | #endif |
73 | 76 | ||
74 | /* | 77 | /* |