diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2018-08-22 07:05:07 +0000 |
---|---|---|
committer | Johannes Weiner <hannes@cmpxchg.org> | 2018-08-22 07:05:07 +0000 |
commit | dd7256ef5e656061da4931287dff83a05ef526b1 (patch) | |
tree | ccb7d7850bd89aac6a807c7c9d4b883042f64f6b | |
parent | 81cbd28d267c04abb3c2f3e99bd84428c0f4cd5f (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 2680886d9f6c..3b9f4f6283f0 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -2231,6 +2231,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) |