Commit 6c700d71 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by James Bottomley

[PARISC] hpux: Remove obsolete regs parameter from do_execve() in hpux_execve()

commit da3d4c5f ("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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 7139bc15
...@@ -43,8 +43,7 @@ int hpux_execve(struct pt_regs *regs) ...@@ -43,8 +43,7 @@ int hpux_execve(struct pt_regs *regs)
error = do_execve(filename->name, error = do_execve(filename->name,
(const char __user *const __user *) regs->gr[25], (const char __user *const __user *) regs->gr[25],
(const char __user *const __user *) regs->gr[24], (const char __user *const __user *) regs->gr[24]);
regs);
putname(filename); putname(filename);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment