Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Geert Uytterhoeven and committed by
James Bottomley
6c700d71 7139bc15

+1 -2
+1 -2
arch/parisc/hpux/fs.c
··· 43 43 44 44 error = do_execve(filename->name, 45 45 (const char __user *const __user *) regs->gr[25], 46 - (const char __user *const __user *) regs->gr[24], 47 - regs); 46 + (const char __user *const __user *) regs->gr[24]); 48 47 49 48 putname(filename); 50 49