From 3e20d5bbdf68a95396bea880e6a695bc8ec4f660 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 28 Oct 2021 01:00:55 -0400 Subject: [PATCH] kernel/fork.c: export kernel_thread() to modules mutex-subsystem-synchro-test-module.patch needs this Cc: Al Viro Cc: Stephen Rothwell Signed-off-by: Andrew Morton --- kernel/fork.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/fork.c b/kernel/fork.c index 2079f1ebfe639c..369bb852977877 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -2683,6 +2683,7 @@ pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) return kernel_clone(&args); } +EXPORT_SYMBOL(kernel_thread); #ifdef __ARCH_WANT_SYS_FORK SYSCALL_DEFINE0(fork)