diff options
Diffstat (limited to 'arch/tile/kernel/process.c')
-rw-r--r-- | arch/tile/kernel/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c index 307d010696c9..9dc139127f86 100644 --- a/arch/tile/kernel/process.c +++ b/arch/tile/kernel/process.c | |||
@@ -614,8 +614,7 @@ out: | |||
614 | #ifdef CONFIG_COMPAT | 614 | #ifdef CONFIG_COMPAT |
615 | long compat_sys_execve(const char __user *path, | 615 | long compat_sys_execve(const char __user *path, |
616 | compat_uptr_t __user *argv, | 616 | compat_uptr_t __user *argv, |
617 | compat_uptr_t __user *envp, | 617 | compat_uptr_t __user *envp) |
618 | struct pt_regs *regs) | ||
619 | { | 618 | { |
620 | long error; | 619 | long error; |
621 | struct filename *filename; | 620 | struct filename *filename; |
@@ -624,7 +623,8 @@ long compat_sys_execve(const char __user *path, | |||
624 | error = PTR_ERR(filename); | 623 | error = PTR_ERR(filename); |
625 | if (IS_ERR(filename)) | 624 | if (IS_ERR(filename)) |
626 | goto out; | 625 | goto out; |
627 | error = compat_do_execve(filename->name, argv, envp, regs); | 626 | error = compat_do_execve(filename->name, argv, envp, |
627 | current_pt_regs()); | ||
628 | putname(filename); | 628 | putname(filename); |
629 | if (error == 0) | 629 | if (error == 0) |
630 | single_step_execve(); | 630 | single_step_execve(); |