aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-10 23:12:01 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-12 13:35:23 -0400
commit5522be6a4624a5f505555569e4d9cee946630686 (patch)
tree27a240cfb4dd0966be2f819319ca44097950878d /arch/alpha/kernel
parent9fff2fa0db911b0b75ec1f9bec72460c0a676ef5 (diff)
downloadkernel_goldelico_gta04-5522be6a4624a5f505555569e4d9cee946630686.zip
kernel_goldelico_gta04-5522be6a4624a5f505555569e4d9cee946630686.tar.gz
kernel_goldelico_gta04-5522be6a4624a5f505555569e4d9cee946630686.tar.bz2
alpha: switch to saner kernel_execve() semantics
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/alpha/kernel')
-rw-r--r--arch/alpha/kernel/entry.S17
1 files changed, 1 insertions, 16 deletions
diff --git a/arch/alpha/kernel/entry.S b/arch/alpha/kernel/entry.S
index 16e074f..a760783 100644
--- a/arch/alpha/kernel/entry.S
+++ b/arch/alpha/kernel/entry.S
@@ -603,24 +603,9 @@ ret_from_kernel_thread:
mov $9, $27
mov $10, $16
jsr $26, ($9)
- ldgp $gp, 0($26)
- mov $0, $16
- mov $31, $26
- jmp $31, sys_exit
-.end ret_from_kernel_thread
-
- .globl ret_from_kernel_execve
- .align 4
- .ent ret_from_kernel_execve
-ret_from_kernel_execve:
- mov $16, $sp
- /* Avoid the HAE being gratuitously wrong, to avoid restoring it. */
- ldq $2, alpha_mv+HAE_CACHE
- stq $2, 152($sp) /* HAE */
mov $31, $19 /* to disable syscall restarts */
br $31, ret_to_user
-
-.end ret_from_kernel_execve
+.end ret_from_kernel_thread
/*