OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / kernel / elfcore.c
blobff915efef66db9d8635d13a2bf1a783c4059f00e
1 #include <linux/elf.h>
2 #include <linux/fs.h>
3 #include <linux/mm.h>
5 #include <asm/elf.h>
8 Elf_Half __weak elf_core_extra_phdrs(void)
10 return 0;
13 int __weak elf_core_write_extra_phdrs(struct file *file, loff_t offset, size_t *size,
14 unsigned long limit)
16 return 1;
19 int __weak elf_core_write_extra_data(struct file *file, size_t *size,
20 unsigned long limit)
22 return 1;
25 size_t __weak elf_core_extra_data_size(void)
27 return 0;