powerpc: don't mess with r2 in copy_thread() and friends
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 11 Oct 2012 14:10:35 +0000 (10:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Oct 2012 23:35:52 +0000 (19:35 -0400)
commit40792104b2550ee067f63c3ccc8ea04747dc5037
tree0741b5e53e5dddd298eb583b8c937d2fc5faa0e5
parent138d1ce80ed96eff6638f454f0a1500a4aefd17b
powerpc: don't mess with r2 in copy_thread() and friends

kernel_thread() callbacks are *not* in modules and are not going to
be there.  And it's not even read in ppc32 ret_from_kernel_thread(),
so no need to bother with it there either.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/process.c