diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-10-25 09:10:52 +0200 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2012-10-26 00:00:44 +0200 |
commit | dc241f2c1761bfdec85915f4bbf7e750663f3442 (patch) | |
tree | e118ecb044d1b8a8427892b73ea00e052a504730 /arch/xtensa/kernel | |
parent | xtensa: switch to generic kernel_execve() (diff) | |
download | linux-dc241f2c1761bfdec85915f4bbf7e750663f3442.tar.xz linux-dc241f2c1761bfdec85915f4bbf7e750663f3442.zip |
xtensa: switch to generic sys_execve()
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r-- | arch/xtensa/kernel/process.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/xtensa/kernel/process.c b/arch/xtensa/kernel/process.c index be52fe437c1b..09ae7bfab9a7 100644 --- a/arch/xtensa/kernel/process.c +++ b/arch/xtensa/kernel/process.c @@ -373,28 +373,3 @@ long xtensa_clone(unsigned long clone_flags, unsigned long newsp, { return do_fork(clone_flags, newsp, regs, 0, parent_tid, child_tid); } - -/* - * xtensa_execve() executes a new program. - */ - -asmlinkage -long xtensa_execve(const char __user *name, - const char __user *const __user *argv, - const char __user *const __user *envp, - long a3, long a4, long a5, - struct pt_regs *regs) -{ - long error; - struct filename *filename; - - filename = getname(name); - error = PTR_ERR(filename); - if (IS_ERR(filename)) - goto out; - error = do_execve(filename->name, argv, envp, regs); - putname(filename); -out: - return error; -} - |