--- zzzz-none-000/linux-2.6.32.60/include/linux/elf.h 2012-10-07 21:41:24.000000000 +0000 +++ ur8-7270-606/linux-2.6.32.60/include/linux/elf.h 2010-07-16 10:24:07.000000000 +0000 @@ -400,8 +400,8 @@ /* Optional callbacks to write extra ELF notes. */ #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 file *file __attribute__ ((unused)), + loff_t *foffset __attribute__ ((unused))) { return 0; } #else extern int elf_coredump_extra_notes_size(void); extern int elf_coredump_extra_notes_write(struct file *file, loff_t *foffset);