summaryrefslogtreecommitdiff
path: root/arch/mn10300/kernel/entry.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-09-19 21:18:20 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-01 08:53:59 +0400
commit6e75421014cd02cc66298d35c4667e493da78914 (patch)
treeb8c917bb766efc2396a7693b305e33e0c37e3a53 /arch/mn10300/kernel/entry.S
parent8f1597e959a3cfeae8f5cfae26890710f9092443 (diff)
downloadlinux-6e75421014cd02cc66298d35c4667e493da78914.tar.xz
mn10300: switch to generic kernel_execve()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mn10300/kernel/entry.S')
-rw-r--r--arch/mn10300/kernel/entry.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mn10300/kernel/entry.S b/arch/mn10300/kernel/entry.S
index 000f144230a5..7dee5f6a1416 100644
--- a/arch/mn10300/kernel/entry.S
+++ b/arch/mn10300/kernel/entry.S
@@ -62,6 +62,13 @@ ENTRY(ret_from_kernel_thread)
calls (a0)
jmp sys_exit
+ENTRY(ret_from_kernel_execve)
+ add -12,d0 /* pt_regs -> frame */
+ mov d0,sp
+ GET_THREAD_INFO a2
+ clr d0
+ jmp syscall_exit
+
###############################################################################
#
# system call handler