2010-02-09 04:10:48

by Anton Blanchard

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---

Index: linux.trees.git/kernel/kthread.c
===================================================================
--- linux.trees.git.orig/kernel/kthread.c 2010-01-12 12:26:56.000000000 +1100
+++ linux.trees.git/kernel/kthread.c 2010-02-09 15:05:59.000000000 +1100
@@ -101,7 +101,7 @@ static void create_kthread(struct kthrea
*
* Description: This helper function creates and names a kernel
* 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
* argument. @threadfn() can either call do_exit() directly if it is a


2010-02-09 05:34:50

by Rusty Russell

[permalink] [raw]
Subject: Re: [PATCH] Remove reference to kthread_create_on_cpu

On Tue, 9 Feb 2010 02:37:40 pm Anton Blanchard wrote:
>
> kthread_create_on_cpu doesn't exist so update a comment in kthread.c to
> reflect this.
>
> Signed-off-by: Anton Blanchard <[email protected]>

Acked-by: Rusty Russell <[email protected]>

Thanks!
Rusty.

2010-02-09 10:23:19

by Jiri Kosina

[permalink] [raw]
Subject: Re: [PATCH] Remove reference to kthread_create_on_cpu

On Tue, 9 Feb 2010, Rusty Russell wrote:

> > kthread_create_on_cpu doesn't exist so update a comment in kthread.c to
> > reflect this.
> >
> > Signed-off-by: Anton Blanchard <[email protected]>
>
> Acked-by: Rusty Russell <[email protected]>

Applied, thanks.

--
Jiri Kosina
SUSE Labs, Novell Inc.

2010-02-09 10:53:07

by Anton Blanchard

[permalink] [raw]
Subject: [tip:sched/core] kthread, sched: Remove reference to kthread_create_on_cpu

Commit-ID: 301ba0457f1ed853fc08e57785f8c87fe7e49c68
Gitweb: http://git.kernel.org/tip/301ba0457f1ed853fc08e57785f8c87fe7e49c68
Author: Anton Blanchard <[email protected]>
AuthorDate: Tue, 9 Feb 2010 15:07:40 +1100
Committer: Ingo Molnar <[email protected]>
CommitDate: Tue, 9 Feb 2010 11:47:39 +0100

kthread, sched: 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 <[email protected]>
Acked-by: Rusty Russell <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <20100209040740.GB3702@kryten>
Signed-off-by: Ingo Molnar <[email protected]>
---
kernel/kthread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/kthread.c b/kernel/kthread.c
index fbb6222..82ed0ea 100644
--- a/kernel/kthread.c
+++ b/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
* 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
* argument. @threadfn() can either call do_exit() directly if it is a