Commit 9e7d8937 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: zero all registers in ELF_PLAT_INIT now we dont in start_thread

parent df660d8f
......@@ -84,6 +84,11 @@ ppc64_elf_core_copy_regs(elf_gregset_t dstRegs, struct pt_regs* srcRegs)
#define ELF_PLATFORM (NULL)
#define ELF_PLAT_INIT(_r) do { \
memset(_r->gpr, 0, sizeof(_r->gpr)); \
_r->ctr = _r->link = _r->xer = _r->ccr = 0; \
} while (0)
#ifdef __KERNEL__
#define SET_PERSONALITY(ex, ibcs2) \
do { \
......
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