diff options
Diffstat (limited to 'arch/openrisc/kernel/process.c')
-rw-r--r-- | arch/openrisc/kernel/process.c | 24 |
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) | |||
251 | dest[35] = 0; | 251 | dest[35] = 0; |
252 | } | 252 | } |
253 | 253 | ||
254 | /* | ||
255 | * sys_execve() executes a new program. | ||
256 | */ | ||
257 | asmlinkage long _sys_execve(const char __user *name, | ||
258 | const char __user * const __user *argv, | ||
259 | const char __user * const __user *envp, | ||
260 | struct pt_regs *regs) | ||
261 | { | ||
262 | int error; | ||
263 | struct filename *filename; | ||
264 | |||
265 | filename = getname(name); | ||
266 | error = PTR_ERR(filename); | ||
267 | |||
268 | if (IS_ERR(filename)) | ||
269 | goto out; | ||
270 | |||
271 | error = do_execve(filename->name, argv, envp, regs); | ||
272 | putname(filename); | ||
273 | |||
274 | out: | ||
275 | return error; | ||
276 | } | ||
277 | |||
278 | unsigned long get_wchan(struct task_struct *p) | 254 | unsigned long get_wchan(struct task_struct *p) |
279 | { | 255 | { |
280 | /* TODO */ | 256 | /* TODO */ |