diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2017-08-02 00:04:23 +0000 |
---|---|---|
committer | Johannes Weiner <hannes@cmpxchg.org> | 2017-08-02 00:04:23 +0000 |
commit | d5f04eda464dffe80c8e38aa8782822438afbdd7 (patch) | |
tree | 9136e7890a5a4a6e654139c71b98472c21aef6ee | |
parent | 0aef360d3b4df07d2241a9e7f6833abc4d524205 (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index f22b50a86655..d747e14ce27b 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -2083,6 +2083,7 @@ pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) return _do_fork(flags|CLONE_VM|CLONE_UNTRACED, (unsigned long)fn, (unsigned long)arg, NULL, NULL, 0); } +EXPORT_SYMBOL(kernel_thread); #ifdef __ARCH_WANT_SYS_FORK SYSCALL_DEFINE0(fork) |