summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2019-07-19 00:07:02 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2019-07-19 00:07:02 +0000
commit2e3d3ffe0b3ce16f87d7aa7830029acd94866aa8 (patch)
treeefd800fec17f40bd2942f95abda9541a744a594f
parent9515f1f0fdb1b9a47ca2fb16c4f19c40148ed27f (diff)
kernel/fork.c: export kernel_thread() to modules
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>
-rw-r--r--kernel/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index d8ae0f1b4148..46471bb629ce 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -2455,6 +2455,7 @@ pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
return _do_fork(&args);
}
+EXPORT_SYMBOL(kernel_thread);
#ifdef __ARCH_WANT_SYS_FORK
SYSCALL_DEFINE0(fork)