aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r--arch/xtensa/kernel/process.c25
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,
373{ 373{
374 return do_fork(clone_flags, newsp, regs, 0, parent_tid, child_tid); 374 return do_fork(clone_flags, newsp, regs, 0, parent_tid, child_tid);
375} 375}
376
377/*
378 * xtensa_execve() executes a new program.
379 */
380
381asmlinkage
382long xtensa_execve(const char __user *name,
383 const char __user *const __user *argv,
384 const char __user *const __user *envp,
385 long a3, long a4, long a5,
386 struct pt_regs *regs)
387{
388 long error;
389 struct filename *filename;
390
391 filename = getname(name);
392 error = PTR_ERR(filename);
393 if (IS_ERR(filename))
394 goto out;
395 error = do_execve(filename->name, argv, envp, regs);
396 putname(filename);
397out:
398 return error;
399}
400