diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-18 22:33:44 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 00:53:11 -0400 |
commit | 019f96a345b6e23d4e0bc2c136ec5f7500b95834 (patch) | |
tree | 25fe5b25d9312962b589f8e02778008414b3e75b /arch/frv/kernel/entry.S | |
parent | 460dabab73f2f60198c37ed7bf6d192d23eaa286 (diff) |
frv: switch to generic kernel_execve
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/frv/kernel/entry.S')
-rw-r--r-- | arch/frv/kernel/entry.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/frv/kernel/entry.S b/arch/frv/kernel/entry.S index 7a886130ca10..002732960315 100644 --- a/arch/frv/kernel/entry.S +++ b/arch/frv/kernel/entry.S | |||
@@ -871,6 +871,11 @@ ret_from_kernel_thread: | |||
871 | calll @(gr21,gr0) | 871 | calll @(gr21,gr0) |
872 | bra sys_exit | 872 | bra sys_exit |
873 | 873 | ||
874 | .globl ret_from_kernel_execve | ||
875 | ret_from_kernel_execve: | ||
876 | ori gr28,0,sp | ||
877 | bra __syscall_exit | ||
878 | |||
874 | ################################################################################################### | 879 | ################################################################################################### |
875 | # | 880 | # |
876 | # Return to user mode is not as complex as all this looks, | 881 | # Return to user mode is not as complex as all this looks, |