nios2: 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: Ley Foon Tan <ley.foon.tan@intel.com> Link: https://lore.kernel.org/r/20200819104655.436656-6-christian.brauner@ubuntu.com
This commit is contained in:
parent
2cd2e1a7eb
commit
e7a2ec95d3
|
@ -266,5 +266,5 @@ asmlinkage int nios2_clone(unsigned long clone_flags, unsigned long newsp,
|
|||
.tls = tls,
|
||||
};
|
||||
|
||||
return _do_fork(&args);
|
||||
return kernel_clone(&args);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue