diff options
Diffstat (limited to 'fs/compat_binfmt_elf.c')
-rw-r--r-- | fs/compat_binfmt_elf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/compat_binfmt_elf.c b/fs/compat_binfmt_elf.c index 112e45a17e99..a81147e2e4ef 100644 --- a/fs/compat_binfmt_elf.c +++ b/fs/compat_binfmt_elf.c | |||
@@ -38,6 +38,13 @@ | |||
38 | #define elf_addr_t Elf32_Addr | 38 | #define elf_addr_t Elf32_Addr |
39 | 39 | ||
40 | /* | 40 | /* |
41 | * Some data types as stored in coredump. | ||
42 | */ | ||
43 | #define user_long_t compat_long_t | ||
44 | #define user_siginfo_t compat_siginfo_t | ||
45 | #define copy_siginfo_to_user copy_siginfo_to_user32 | ||
46 | |||
47 | /* | ||
41 | * The machine-dependent core note format types are defined in elfcore-compat.h, | 48 | * The machine-dependent core note format types are defined in elfcore-compat.h, |
42 | * which requires asm/elf.h to define compat_elf_gregset_t et al. | 49 | * which requires asm/elf.h to define compat_elf_gregset_t et al. |
43 | */ | 50 | */ |