]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
kernel/fork.c: export kernel_thread() to modules
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 31 Dec 2020 22:05:11 +0000 (22:05 +0000)
committerJohannes Weiner <hannes@cmpxchg.org>
Thu, 31 Dec 2020 22:05:11 +0000 (22:05 +0000)
mutex-subsystem-synchro-test-module.patch needs this

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/fork.c

index 37720a6d04eaa8c61cdae87092df4a75daa59c75..b7c239f2244ce014d932cf6df4e9436946e3b1a5 100644 (file)
@@ -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)