summaryrefslogtreecommitdiff
path: root/include/linux/elf.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-06 06:24:29 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-11-09 09:16:24 +0400
commitcdc3d5627d5f7c4e6b6372b9fb39cba0fe6a9b2a (patch)
treea171558a3396fbcf89a82a065d4f0742ddc22076 /include/linux/elf.h
parente6c1baa9b562ca296d57178c44f3894795d13d32 (diff)
downloadlinux-cdc3d5627d5f7c4e6b6372b9fb39cba0fe6a9b2a.tar.xz
switch elf_coredump_extra_notes_write() to dump_emit()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/elf.h')
-rw-r--r--include/linux/elf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/elf.h b/include/linux/elf.h
index 40a3c0e01b2b..67a5fa7830c4 100644
--- a/include/linux/elf.h
+++ b/include/linux/elf.h
@@ -39,13 +39,13 @@ extern Elf64_Dyn _DYNAMIC [];
/* Optional callbacks to write extra ELF notes. */
struct file;
+struct coredump_params;
#ifndef ARCH_HAVE_EXTRA_ELF_NOTES
static inline int elf_coredump_extra_notes_size(void) { return 0; }
-static inline int elf_coredump_extra_notes_write(struct file *file,
- loff_t *foffset) { return 0; }
+static inline int elf_coredump_extra_notes_write(struct coredump_params *cprm) { return 0; }
#else
extern int elf_coredump_extra_notes_size(void);
-extern int elf_coredump_extra_notes_write(struct file *file, loff_t *foffset);
+extern int elf_coredump_extra_notes_write(struct coredump_params *cprm);
#endif
#endif /* _LINUX_ELF_H */