mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
h8300: switch to kernel_clone()
The old _do_fork() helper is removed in favor of the new kernel_clone() helper. The latter adheres to naming conventions for kernel internal syscall helpers. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Cc: Greentime Hu <green.hu@gmail.com> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: uclinux-h8-devel@lists.sourceforge.jp Link: https://lore.kernel.org/r/20200819104655.436656-3-christian.brauner@ubuntu.com
This commit is contained in:
parent
cad6967ac1
commit
efd85a5517
|
|
@ -172,5 +172,5 @@ asmlinkage int sys_clone(unsigned long __user *args)
|
|||
kargs.exit_signal = (lower_32_bits(clone_flags) & CSIGNAL);
|
||||
kargs.stack = newsp;
|
||||
|
||||
return _do_fork(&kargs);
|
||||
return kernel_clone(&kargs);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user