summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_64.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-11 08:41:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-14 19:35:44 -0400
commit138d1ce80ed96eff6638f454f0a1500a4aefd17b (patch)
tree68b9204f77986d2bce6928e32c5880708a5b6faa /arch/powerpc/kernel/entry_64.S
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
downloadlinux-138d1ce80ed96eff6638f454f0a1500a4aefd17b.tar.bz2
powerpc: switch to saner kernel_execve() semantics
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.S6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S
index 56e0ff0878b5..2eb766ad1c5c 100644
--- a/arch/powerpc/kernel/entry_64.S
+++ b/arch/powerpc/kernel/entry_64.S
@@ -378,12 +378,6 @@ _GLOBAL(ret_from_kernel_thread)
mr r3,r15
blrl
li r3,0
- b .do_exit # no return
-
-_GLOBAL(__ret_from_kernel_execve)
- addi r1,r3,-STACK_FRAME_OVERHEAD
- li r10,1
- std r10,SOFTE(r1)
b syscall_exit
.section ".toc","aw"