diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-11 23:32:41 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-15 01:43:21 +0200 |
commit | ddf23e87a804cbf6fa3818076b33fe023cce09fd (patch) | |
tree | b6947120fcdf29d93c15c59b4eceff4b093ba90a /arch/mn10300/kernel | |
parent | Linux 3.7-rc1 (diff) | |
download | linux-ddf23e87a804cbf6fa3818076b33fe023cce09fd.tar.xz linux-ddf23e87a804cbf6fa3818076b33fe023cce09fd.zip |
mn10300: switch to saner kernel_execve() semantics
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mn10300/kernel')
-rw-r--r-- | arch/mn10300/kernel/entry.S | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/mn10300/kernel/entry.S b/arch/mn10300/kernel/entry.S index 0c631d34c8d7..68fcab8f8f6f 100644 --- a/arch/mn10300/kernel/entry.S +++ b/arch/mn10300/kernel/entry.S @@ -60,13 +60,8 @@ ENTRY(ret_from_kernel_thread) mov (REG_D0,fp),d0 mov (REG_A0,fp),a0 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 + mov d0,(REG_D0,fp) jmp syscall_exit ############################################################################### |