diff options
Diffstat (limited to 'kernel/elfcore.c')
-rw-r--r-- | kernel/elfcore.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/kernel/elfcore.c b/kernel/elfcore.c index ff915efef66d..e556751d15d9 100644 --- a/kernel/elfcore.c +++ b/kernel/elfcore.c | |||
@@ -1,23 +1,19 @@ | |||
1 | #include <linux/elf.h> | 1 | #include <linux/elf.h> |
2 | #include <linux/fs.h> | 2 | #include <linux/fs.h> |
3 | #include <linux/mm.h> | 3 | #include <linux/mm.h> |
4 | 4 | #include <linux/binfmts.h> | |
5 | #include <asm/elf.h> | ||
6 | |||
7 | 5 | ||
8 | Elf_Half __weak elf_core_extra_phdrs(void) | 6 | Elf_Half __weak elf_core_extra_phdrs(void) |
9 | { | 7 | { |
10 | return 0; | 8 | return 0; |
11 | } | 9 | } |
12 | 10 | ||
13 | int __weak elf_core_write_extra_phdrs(struct file *file, loff_t offset, size_t *size, | 11 | int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset) |
14 | unsigned long limit) | ||
15 | { | 12 | { |
16 | return 1; | 13 | return 1; |
17 | } | 14 | } |
18 | 15 | ||
19 | int __weak elf_core_write_extra_data(struct file *file, size_t *size, | 16 | int __weak elf_core_write_extra_data(struct coredump_params *cprm) |
20 | unsigned long limit) | ||
21 | { | 17 | { |
22 | return 1; | 18 | return 1; |
23 | } | 19 | } |