summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2020-08-19 12:46:49 +0200
committerChristian Brauner <christian.brauner@ubuntu.com>2020-08-20 13:12:58 +0200
commite7a2ec95d38d85e68131cd606a55dad9c53e06be (patch)
tree2f3a332ab7f0b6dcdddcf7daf6186e7c29d68411
parent2cd2e1a7eb24f73adea0da9374b1a717b3d7b504 (diff)
downloadlinux-e7a2ec95d38d85e68131cd606a55dad9c53e06be.tar.bz2
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
-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);
}