From: Ilias Stamatis Date: Fri, 7 Aug 2020 06:17:19 +0000 (-0700) Subject: kthread: remove incorrect comment in kthread_create_on_cpu() X-Git-Tag: v5.10.7~1907^2~158 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ca1085c9573ea08767521dabce62456e3fc2fd0;p=platform%2Fkernel%2Flinux-rpi.git kthread: remove incorrect comment in kthread_create_on_cpu() Originally kthread_create_on_cpu() parked and woke up the new thread. However, since commit a65d40961dc7 ("kthread/smpboot: do not park in kthread_create_on_cpu()") this is no longer the case. This patch removes the comment that has been left behind and is now incorrect / stale. Fixes: a65d40961dc7 ("kthread/smpboot: do not park in kthread_create_on_cpu()") Signed-off-by: Ilias Stamatis Signed-off-by: Andrew Morton Reviewed-by: Petr Mladek Link: http://lkml.kernel.org/r/20200611135920.240551-1-stamatis.iliass@gmail.com Signed-off-by: Linus Torvalds --- diff --git a/kernel/kthread.c b/kernel/kthread.c index 1c8964f..b2807e7 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c @@ -480,7 +480,6 @@ EXPORT_SYMBOL(kthread_bind); * to "name.*%u". Code fills in cpu number. * * Description: This helper function creates and names a kernel thread - * The thread will be woken and put into park mode. */ struct task_struct *kthread_create_on_cpu(int (*threadfn)(void *data), void *data, unsigned int cpu,