Commit 7b7ade11 authored by Al Viro's avatar Al Viro

frv: switch to saner kernel_execve() semantics

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e7aa51b2
...@@ -13,6 +13,7 @@ config FRV ...@@ -13,6 +13,7 @@ config FRV
select GENERIC_CPU_DEVICES select GENERIC_CPU_DEVICES
select ARCH_WANT_IPC_PARSE_VERSION select ARCH_WANT_IPC_PARSE_VERSION
select GENERIC_KERNEL_THREAD select GENERIC_KERNEL_THREAD
select GENERIC_KERNEL_EXECVE
config ZONE_DMA config ZONE_DMA
bool bool
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#define __ARCH_WANT_SYS_RT_SIGACTION #define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGSUSPEND #define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_EXECVE #define __ARCH_WANT_SYS_EXECVE
#define __ARCH_WANT_KERNEL_EXECVE
/* /*
* "Conditional" syscalls * "Conditional" syscalls
......
...@@ -869,11 +869,6 @@ ret_from_kernel_thread: ...@@ -869,11 +869,6 @@ ret_from_kernel_thread:
call schedule_tail call schedule_tail
calll.p @(gr21,gr0) calll.p @(gr21,gr0)
or gr20,gr20,gr8 or gr20,gr20,gr8
bra sys_exit
.globl ret_from_kernel_execve
ret_from_kernel_execve:
ori gr28,0,sp
bra __syscall_exit bra __syscall_exit
################################################################################################### ###################################################################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment