Commit 33ed54bf authored by Marc Zyngier's avatar Marc Zyngier Committed by Linus Torvalds

[PATCH] Fix fs/binfmt_elf.c build

The stack reducing patch that recently went in prevent alpha from
building (missing some ELF_CORE_COPY_XFPREGS ifdefs). The excluded
patch fixes it.
parent 9fb0f568
......@@ -1194,7 +1194,9 @@ static int elf_core_dump(long signr, struct pt_regs * regs, struct file * file)
LIST_HEAD(thread_list);
struct list_head *t;
elf_fpregset_t *fpu = NULL;
#ifdef ELF_CORE_COPY_XFPREGS
elf_fpxregset_t *xfpu = NULL;
#endif
int thread_status_size = 0;
/*
......@@ -1400,7 +1402,9 @@ static int elf_core_dump(long signr, struct pt_regs * regs, struct file * file)
kfree(psinfo);
kfree(notes);
kfree(fpu);
#ifdef ELF_CORE_COPY_XFPREGS
kfree(xfpu);
#endif
return has_dumped;
#undef NUM_NOTES
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment