diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-11 16:10:35 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-15 01:35:52 +0200 |
commit | 40792104b2550ee067f63c3ccc8ea04747dc5037 (patch) | |
tree | 0741b5e53e5dddd298eb583b8c937d2fc5faa0e5 /arch/powerpc/kernel/entry_64.S | |
parent | powerpc: switch to saner kernel_execve() semantics (diff) | |
download | linux-40792104b2550ee067f63c3ccc8ea04747dc5037.tar.xz linux-40792104b2550ee067f63c3ccc8ea04747dc5037.zip |
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>
Diffstat (limited to 'arch/powerpc/kernel/entry_64.S')
-rw-r--r-- | arch/powerpc/kernel/entry_64.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S index 2eb766ad1c5c..8fdb05146ca0 100644 --- a/arch/powerpc/kernel/entry_64.S +++ b/arch/powerpc/kernel/entry_64.S @@ -373,7 +373,6 @@ _GLOBAL(ret_from_fork) _GLOBAL(ret_from_kernel_thread) bl .schedule_tail REST_NVGPRS(r1) - REST_GPR(2,r1) mtlr r14 mr r3,r15 blrl |