summaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-20 19:13:11 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-20 19:13:11 +0200
commit733deca197143857f938b41d671cd7ce9c53c4bc (patch)
tree3b942493a4efd11ecb9497a999a8658728f7973a /arch/tile/kernel/process.c
parentarm64: Use generic sys_execve() implementation (diff)
downloadlinux-733deca197143857f938b41d671cd7ce9c53c4bc.tar.xz
linux-733deca197143857f938b41d671cd7ce9c53c4bc.zip
Drop struct pt_regs * argument in compat_sys_execve()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/tile/kernel/process.c')
-rw-r--r--arch/tile/kernel/process.c6
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:
#ifdef CONFIG_COMPAT
long compat_sys_execve(const char __user *path,
compat_uptr_t __user *argv,
- compat_uptr_t __user *envp,
- struct pt_regs *regs)
+ compat_uptr_t __user *envp)
{
long error;
struct filename *filename;
@@ -624,7 +623,8 @@ long compat_sys_execve(const char __user *path,
error = PTR_ERR(filename);
if (IS_ERR(filename))
goto out;
- error = compat_do_execve(filename->name, argv, envp, regs);
+ error = compat_do_execve(filename->name, argv, envp,
+ current_pt_regs());
putname(filename);
if (error == 0)
single_step_execve();