summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2019-07-18 00:07:43 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2019-07-18 00:07:43 +0000
commite0b9e1c5a958368137fc6bf01b43945ca7642720 (patch)
tree8c21eb99aaccd5a4d9d33533312cc2105fbaeb6d
parentaccc4d89132a305ce89069ef7c7831a4c5e37488 (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)