summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2019-09-04 05:02:55 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2019-09-04 05:02:55 +0000
commit28be787b59403ca877de2d4b55cc8487d67d4b0e (patch)
treed081c7f24b8faa12083dca654ac78c5d4381f754
parente8ebf0f6aeab8426e00d0c9665530057d9ee8379 (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 f601168f6b21..24c957bbcd20 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -2453,6 +2453,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)