summaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-20 13:13:11 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-20 13:13:11 -0400
commit733deca197143857f938b41d671cd7ce9c53c4bc (patch)
tree3b942493a4efd11ecb9497a999a8658728f7973a /arch/tile/kernel/process.c
parent6a872777ffff6184f4ac10bd71d926d5e6f2491e (diff)
downloadop-kernel-dev-733deca197143857f938b41d671cd7ce9c53c4bc.zip
op-kernel-dev-733deca197143857f938b41d671cd7ce9c53c4bc.tar.gz
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 307d010..9dc1391 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();
OpenPOWER on IntegriCloud