Skip to content

Commit

Permalink
[PARISC] hpux: Remove obsolete regs parameter from do_execve() in hpu…
Browse files Browse the repository at this point in the history
…x_execve()

commit da3d4c5 ("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>
  • Loading branch information
Geert Uytterhoeven authored and James Bottomley committed Jan 30, 2013
1 parent 7139bc1 commit 6c700d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/parisc/hpux/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6c700d7

Please sign in to comment.