The patch titled Subject: kthread-add-the-helper-function-kthread_run_on_cpu-fix has been added to the -mm tree. Its filename is kthread-add-the-helper-function-kthread_run_on_cpu-fix.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/kthread-add-the-helper-function-kthread_run_on_cpu-fix.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/kthread-add-the-helper-function-kthread_run_on_cpu-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: kthread-add-the-helper-function-kthread_run_on_cpu-fix export kthread_create_on_cpu to modules ERROR: modpost: "kthread_create_on_cpu" [drivers/infiniband/sw/siw/siw.ko] undefined! ERROR: modpost: "kthread_create_on_cpu" [kernel/rcu/rcutorture.ko] undefined! Cc: Cai Huoqing <caihuoqing@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kthread.c | 1 + 1 file changed, 1 insertion(+) --- a/kernel/kthread.c~kthread-add-the-helper-function-kthread_run_on_cpu-fix +++ a/kernel/kthread.c @@ -523,6 +523,7 @@ struct task_struct *kthread_create_on_cp to_kthread(p)->cpu = cpu; return p; } +EXPORT_SYMBOL(kthread_create_on_cpu); void kthread_set_per_cpu(struct task_struct *k, int cpu) { _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-bdi-initialize-bdi_min_ratio-when-bdi-unregister-fix.patch kthread-add-the-helper-function-kthread_run_on_cpu-fix.patch mm.patch mm-remove-redundant-check-about-fault_flag_allow_retry-bit-checkpatch-fixes.patch mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch panic-use-error_report_end-tracepoint-on-warnings-fix.patch linux-next-git-rejects.patch kernel-forkc-export-kernel_thread-to-modules.patch