summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2019-08-13 23:09:38 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2019-08-13 23:09:38 +0000
commit94184bed5c924ec03e5d98df8a248e0416d46f8b (patch)
treeff4de9c1f83f9b8dffabff73bebc968d8b728fd6
parent6fe87f1ffec0ede0423b8b8dc40598079356437a (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 18e1acb3722d..6051041fbda6 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -2477,6 +2477,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)