diff options
Diffstat (limited to 'include/asm-x86/compat.h')
-rw-r--r-- | include/asm-x86/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-x86/compat.h b/include/asm-x86/compat.h index 53cb96b68a62..66ba7987184a 100644 --- a/include/asm-x86/compat.h +++ b/include/asm-x86/compat.h | |||
@@ -6,6 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | #include <linux/types.h> | 7 | #include <linux/types.h> |
8 | #include <linux/sched.h> | 8 | #include <linux/sched.h> |
9 | #include <asm/user32.h> | ||
9 | 10 | ||
10 | #define COMPAT_USER_HZ 100 | 11 | #define COMPAT_USER_HZ 100 |
11 | 12 | ||
@@ -181,6 +182,11 @@ struct compat_shmid64_ds { | |||
181 | }; | 182 | }; |
182 | 183 | ||
183 | /* | 184 | /* |
185 | * The type of struct elf_prstatus.pr_reg in compatible core dumps. | ||
186 | */ | ||
187 | typedef struct user_regs_struct32 compat_elf_gregset_t; | ||
188 | |||
189 | /* | ||
184 | * A pointer passed in from user mode. This should not | 190 | * A pointer passed in from user mode. This should not |
185 | * be used for syscall parameters, just declare them | 191 | * be used for syscall parameters, just declare them |
186 | * as pointers because the syscall entry code will have | 192 | * as pointers because the syscall entry code will have |