diff options
Diffstat (limited to 'include/linux/elfcore.h')
| -rw-r--r-- | include/linux/elfcore.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h index cdd3d13efce7..698d51a0eea3 100644 --- a/include/linux/elfcore.h +++ b/include/linux/elfcore.h | |||
| @@ -6,6 +6,8 @@ | |||
| 6 | #include <asm/elf.h> | 6 | #include <asm/elf.h> |
| 7 | #include <uapi/linux/elfcore.h> | 7 | #include <uapi/linux/elfcore.h> |
| 8 | 8 | ||
| 9 | struct coredump_params; | ||
| 10 | |||
| 9 | static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs) | 11 | static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs) |
| 10 | { | 12 | { |
| 11 | #ifdef ELF_CORE_COPY_REGS | 13 | #ifdef ELF_CORE_COPY_REGS |
| @@ -63,10 +65,9 @@ static inline int elf_core_copy_task_xfpregs(struct task_struct *t, elf_fpxregse | |||
| 63 | */ | 65 | */ |
| 64 | extern Elf_Half elf_core_extra_phdrs(void); | 66 | extern Elf_Half elf_core_extra_phdrs(void); |
| 65 | extern int | 67 | extern int |
| 66 | elf_core_write_extra_phdrs(struct file *file, loff_t offset, size_t *size, | 68 | elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset); |
| 67 | unsigned long limit); | ||
| 68 | extern int | 69 | extern int |
| 69 | elf_core_write_extra_data(struct file *file, size_t *size, unsigned long limit); | 70 | elf_core_write_extra_data(struct coredump_params *cprm); |
| 70 | extern size_t elf_core_extra_data_size(void); | 71 | extern size_t elf_core_extra_data_size(void); |
| 71 | 72 | ||
| 72 | #endif /* _LINUX_ELFCORE_H */ | 73 | #endif /* _LINUX_ELFCORE_H */ |
