From: Andrew Morton Date: Thu, 31 Dec 2020 22:05:11 +0000 (+0000) Subject: kernel/fork.c: export kernel_thread() to modules X-Git-Tag: howlett/maple_spf/20210104~72 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bb8decbe713dfbb8cec9906d7af0688ba98978d2;p=users%2Fjedix%2Flinux-maple.git 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 --- diff --git a/kernel/fork.c b/kernel/fork.c index 37720a6d04ea..b7c239f2244c 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -2515,6 +2515,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)