summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2020-08-19 13:46:49 +0300
committerChristian Brauner <christian.brauner@ubuntu.com>2020-08-20 14:12:58 +0300
commite7a2ec95d38d85e68131cd606a55dad9c53e06be (patch)
tree2f3a332ab7f0b6dcdddcf7daf6186e7c29d68411 /arch
parent2cd2e1a7eb24f73adea0da9374b1a717b3d7b504 (diff)
downloadlinux-e7a2ec95d38d85e68131cd606a55dad9c53e06be.tar.xz
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
Diffstat (limited to 'arch')
-rw-r--r--arch/nios2/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/kernel/process.c b/arch/nios2/kernel/process.c
index 88a4ec03edab..4ffe857e6ada 100644
--- a/arch/nios2/kernel/process.c
+++ b/arch/nios2/kernel/process.c
@@ -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);
}