diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-12-29 00:28:09 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-01-30 06:26:57 +0400 |
commit | 6c700d71f7faecb540b3fa4303edb5323a2768c1 (patch) | |
tree | 65f45866f1eda94d8cd8bb601aa374b50f7470f6 | |
parent | 7139bc1579901b53db7e898789e916ee2fb52d78 (diff) | |
download | linux-6c700d71f7faecb540b3fa4303edb5323a2768c1.tar.xz |
[PARISC] hpux: Remove obsolete regs parameter from do_execve() in hpux_execve()
commit da3d4c5fa56236dd924d77ffc4f982356816b93b ("get rid of pt_regs
argument of do_execve()") removed the parameter, but forgot to update
hpux_execve():
arch/parisc/hpux/fs.c: In function 'hpux_execve':
arch/parisc/hpux/fs.c:47:6: error: too many arguments to function 'do_execve'
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r-- | arch/parisc/hpux/fs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/parisc/hpux/fs.c b/arch/parisc/hpux/fs.c index a0760b87fd4e..838b479a42c4 100644 --- a/arch/parisc/hpux/fs.c +++ b/arch/parisc/hpux/fs.c @@ -43,8 +43,7 @@ int hpux_execve(struct pt_regs *regs) error = do_execve(filename->name, (const char __user *const __user *) regs->gr[25], - (const char __user *const __user *) regs->gr[24], - regs); + (const char __user *const __user *) regs->gr[24]); putname(filename); |