h8300: switch to kernel_clone()
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 19 Aug 2020 10:46:46 +0000 (12:46 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 20 Aug 2020 11:12:58 +0000 (13:12 +0200)
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
arch/h8300/kernel/process.c

index 83ce3caf73139ef7917a8d585db4d6d1f35b37dc..aea0a40b77a9b4153afbffec789bac2750a4db94 100644 (file)
@@ -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);
 }