summaryrefslogtreecommitdiffstats
path: root/arch/h8300/kernel
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2020-08-19 12:46:46 +0200
committerChristian Brauner <christian.brauner@ubuntu.com>2020-08-20 13:12:58 +0200
commitefd85a5517e6626d6dee809af3a86891b7257218 (patch)
tree2df1c1fb866835ec06f2a49e7ff878552993719c /arch/h8300/kernel
parentcad6967ac10843a70842cd39c7b53412901dd21f (diff)
downloadlinux-efd85a5517e6626d6dee809af3a86891b7257218.tar.bz2
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
Diffstat (limited to 'arch/h8300/kernel')
-rw-r--r--arch/h8300/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/h8300/kernel/process.c b/arch/h8300/kernel/process.c
index 83ce3caf7313..aea0a40b77a9 100644
--- a/arch/h8300/kernel/process.c
+++ b/arch/h8300/kernel/process.c
@@ -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);
}