flagday: kill pt_regs argument of do_fork()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -312,7 +312,7 @@ _sys32_clone(nabi_no_regargs struct pt_regs regs)
|
||||
/* Use __dummy4 instead of getting it off the stack, so that
|
||||
syscall() works. */
|
||||
child_tidptr = (int __user *) __dummy4;
|
||||
return do_fork(clone_flags, newsp, ®s, 0,
|
||||
return do_fork(clone_flags, newsp, 0,
|
||||
parent_tidptr, child_tidptr);
|
||||
}
|
||||
|
||||
|
@@ -92,7 +92,7 @@ save_static_function(sys_fork);
|
||||
static int __used noinline
|
||||
_sys_fork(nabi_no_regargs struct pt_regs regs)
|
||||
{
|
||||
return do_fork(SIGCHLD, regs.regs[29], ®s, 0, NULL, NULL);
|
||||
return do_fork(SIGCHLD, regs.regs[29], 0, NULL, NULL);
|
||||
}
|
||||
|
||||
save_static_function(sys_clone);
|
||||
@@ -123,7 +123,7 @@ _sys_clone(nabi_no_regargs struct pt_regs regs)
|
||||
#else
|
||||
child_tidptr = (int __user *) regs.regs[8];
|
||||
#endif
|
||||
return do_fork(clone_flags, newsp, ®s, 0,
|
||||
return do_fork(clone_flags, newsp, 0,
|
||||
parent_tidptr, child_tidptr);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user