diff options
Diffstat (limited to 'arch/um/include/sysdep-i386/ptrace_user.h')
-rw-r--r-- | arch/um/include/sysdep-i386/ptrace_user.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/um/include/sysdep-i386/ptrace_user.h b/arch/um/include/sysdep-i386/ptrace_user.h index 899aa4b2a78d..75650723c38f 100644 --- a/arch/um/include/sysdep-i386/ptrace_user.h +++ b/arch/um/include/sysdep-i386/ptrace_user.h | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <sys/ptrace.h> | 9 | #include <sys/ptrace.h> |
10 | #include <linux/ptrace.h> | 10 | #include <linux/ptrace.h> |
11 | #include <asm/ptrace.h> | 11 | #include <asm/ptrace.h> |
12 | #include "user_constants.h" | ||
12 | 13 | ||
13 | #define PT_OFFSET(r) ((r) * sizeof(long)) | 14 | #define PT_OFFSET(r) ((r) * sizeof(long)) |
14 | 15 | ||
@@ -40,6 +41,8 @@ | |||
40 | #define PT_SP_OFFSET PT_OFFSET(UESP) | 41 | #define PT_SP_OFFSET PT_OFFSET(UESP) |
41 | #define PT_SP(regs) ((regs)[UESP]) | 42 | #define PT_SP(regs) ((regs)[UESP]) |
42 | 43 | ||
44 | #define FP_SIZE ((HOST_XFP_SIZE > HOST_FP_SIZE) ? HOST_XFP_SIZE : HOST_FP_SIZE) | ||
45 | |||
43 | #ifndef FRAME_SIZE | 46 | #ifndef FRAME_SIZE |
44 | #define FRAME_SIZE (17) | 47 | #define FRAME_SIZE (17) |
45 | #endif | 48 | #endif |