summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_64.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-21 22:50:34 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-22 04:25:11 +0200
commit53b50f9483cce47d1a7aefd1c9f442c094a5b1f7 (patch)
tree7d31f189018499916089eda03e2e5f13f207db44 /arch/powerpc/kernel/entry_64.S
parentpowerpc: don't mess with r2 in copy_thread() and friends (diff)
downloadlinux-53b50f9483cce47d1a7aefd1c9f442c094a5b1f7.tar.xz
linux-53b50f9483cce47d1a7aefd1c9f442c094a5b1f7.zip
powerpc: take dereferencing to ret_from_kernel_thread()
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.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S
index 8fdb05146ca0..e9a906c27234 100644
--- a/arch/powerpc/kernel/entry_64.S
+++ b/arch/powerpc/kernel/entry_64.S
@@ -373,6 +373,7 @@ _GLOBAL(ret_from_fork)
_GLOBAL(ret_from_kernel_thread)
bl .schedule_tail
REST_NVGPRS(r1)
+ ld r14, 0(r14)
mtlr r14
mr r3,r15
blrl