X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fbinfmt_elf.c;h=950bc177238ac77ad10137385a1e290cf20a9151;hb=2efdaf7660c408d57721cc6dacb0167f866cb451;hp=ac0b5fc30ea6a15c19559d24a1761dfe5215a2a8;hpb=d635a69dd4981cc51f90293f5f64268620ed1565;p=linux-2.6-microblaze.git diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index ac0b5fc30ea6..950bc177238a 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -2198,6 +2198,7 @@ static int elf_core_dump(struct coredump_params *cprm) { size_t sz = get_note_info_size(&info); + /* For cell spufs */ sz += elf_coredump_extra_notes_size(); phdr4note = kmalloc(sizeof(*phdr4note), GFP_KERNEL); @@ -2261,6 +2262,7 @@ static int elf_core_dump(struct coredump_params *cprm) if (!write_note_info(&info, cprm)) goto end_coredump; + /* For cell spufs */ if (elf_coredump_extra_notes_write(cprm)) goto end_coredump;