~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/linux/elf.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
/* Optional callbacks to write extra ELF notes. */
41
41
struct file;
 
42
struct coredump_params;
42
43
 
43
44
#ifndef ARCH_HAVE_EXTRA_ELF_NOTES
44
45
static inline int elf_coredump_extra_notes_size(void) { return 0; }
45
 
static inline int elf_coredump_extra_notes_write(struct file *file,
46
 
                        loff_t *foffset) { return 0; }
 
46
static inline int elf_coredump_extra_notes_write(struct coredump_params *cprm) { return 0; }
47
47
#else
48
48
extern int elf_coredump_extra_notes_size(void);
49
 
extern int elf_coredump_extra_notes_write(struct file *file, loff_t *foffset);
 
49
extern int elf_coredump_extra_notes_write(struct coredump_params *cprm);
50
50
#endif
51
51
#endif /* _LINUX_ELF_H */