浏览代码

Remove reference to kthread_create_on_cpu

kthread_create_on_cpu doesn't exist so update a comment in kthread.c to reflect
this.

Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Anton Blanchard 15 年之前
父节点
当前提交
b80109e256
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/kthread.c

+ 1 - 1
kernel/kthread.c

@@ -101,7 +101,7 @@ static void create_kthread(struct kthread_create_info *create)
  *
  *
  * Description: This helper function creates and names a kernel
  * Description: This helper function creates and names a kernel
  * thread.  The thread will be stopped: use wake_up_process() to start
  * thread.  The thread will be stopped: use wake_up_process() to start
- * it.  See also kthread_run(), kthread_create_on_cpu().
+ * it.  See also kthread_run().
  *
  *
  * When woken, the thread will run @threadfn() with @data as its
  * When woken, the thread will run @threadfn() with @data as its
  * argument. @threadfn() can either call do_exit() directly if it is a
  * argument. @threadfn() can either call do_exit() directly if it is a