[PATCH] powerpc: Don't blow away load_addr in start_thread
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 21 Oct 2005 06:01:33 +0000 (16:01 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 21 Oct 2005 12:47:39 +0000 (22:47 +1000)
commit90eac727c6d7afbe707ce408edf97c33385fa08c
tree130fc6e078e82a3c8fd62d90105d346637d680ea
parent6cb7bfebb145af5ea1d052512a2ae7ff07a47202
[PATCH] powerpc: Don't blow away load_addr in start_thread

The patch to make process.c work for 32-bit and 64-bit
(06d67d54741a5bfefa31945ef195dfa748c29025) broke some 64-bit binaries.
We were blowing away load_addr in gpr[2], so we weren't properly relocating
the entry point.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/process.c