]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/elf.h
switch elf_coredump_extra_notes_write() to dump_emit()
[mirror_ubuntu-artful-kernel.git] / include / linux / elf.h
index 40a3c0e01b2be880a428d9662ee490d9a070e277..67a5fa7830c4aef856a0334bb41d6074ae49320d 100644 (file)
@@ -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 */