Skip to content

Commit

Permalink
kernel/fork.c: export kernel_thread() to modules
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
akpm00 authored and hnaz committed Oct 28, 2021
1 parent 67fa201 commit 3e20d5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -2683,6 +2683,7 @@ pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)

return kernel_clone(&args);
}
EXPORT_SYMBOL(kernel_thread);

#ifdef __ARCH_WANT_SYS_FORK
SYSCALL_DEFINE0(fork)
Expand Down

0 comments on commit 3e20d5b

Please sign in to comment.