From 999121a10cbf091cdb3c168754de6ddf1992e656 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 13 Oct 2012 03:26:10 -0400 Subject: blackfin: switch to generic sys_execve() Signed-off-by: Al Viro --- arch/blackfin/kernel/process.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'arch/blackfin/kernel') diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c index 9945b94c63d4..da8df0e504ac 100644 --- a/arch/blackfin/kernel/process.c +++ b/arch/blackfin/kernel/process.c @@ -184,26 +184,6 @@ copy_thread(unsigned long clone_flags, return 0; } -/* - * sys_execve() executes a new program. - */ -asmlinkage int sys_execve(const char __user *name, - const char __user *const __user *argv, - const char __user *const __user *envp) -{ - int error; - struct filename *filename; - struct pt_regs *regs = (struct pt_regs *)((&name) + 6); - - filename = getname(name); - error = PTR_ERR(filename); - if (IS_ERR(filename)) - return error; - error = do_execve(filename->name, argv, envp, regs); - putname(filename); - return error; -} - unsigned long get_wchan(struct task_struct *p) { unsigned long fp, pc; -- cgit v1.2.2