summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/kernel/process.c
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2012-10-19 18:25:36 +0200
committerJonas Bonn <jonas@southpole.se>2012-10-19 18:33:01 +0200
commita91a2bb1dbd87987645bdb56f49e6a50501b692a (patch)
tree3bc883a09b0ad54f5ed45c6d447c06fe32fc97ce /arch/openrisc/kernel/process.c
parentopenrisc: use generic kernel_thread/kernel_execve (diff)
downloadlinux-a91a2bb1dbd87987645bdb56f49e6a50501b692a.tar.xz
linux-a91a2bb1dbd87987645bdb56f49e6a50501b692a.zip
openrisc: use generic sys_execve
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Diffstat (limited to 'arch/openrisc/kernel/process.c')
-rw-r--r--arch/openrisc/kernel/process.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/openrisc/kernel/process.c b/arch/openrisc/kernel/process.c
index a0f467e438fc..e0874b8e09e4 100644
--- a/arch/openrisc/kernel/process.c
+++ b/arch/openrisc/kernel/process.c
@@ -251,30 +251,6 @@ void dump_elf_thread(elf_greg_t *dest, struct pt_regs* regs)
dest[35] = 0;
}
-/*
- * sys_execve() executes a new program.
- */
-asmlinkage long _sys_execve(const char __user *name,
- const char __user * const __user *argv,
- const char __user * const __user *envp,
- struct pt_regs *regs)
-{
- int 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;
-}
-
unsigned long get_wchan(struct task_struct *p)
{
/* TODO */