X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=kernel%2Fkthread.c;h=87c50ccd1d4e93850373d23c8d96b46a93cc0688;hb=c959df9f01cfb2f43b4d1f58631ee1e9c50541b6;hp=1db8c72d0d380c637b18e3951df45f32291ceeda;hpb=9db73724453a9350e1c22dbe732d427e2939a5c9;p=powerpc.git diff --git a/kernel/kthread.c b/kernel/kthread.c index 1db8c72d0d..87c50ccd1d 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c @@ -50,7 +50,7 @@ static struct kthread_stop_info kthread_stop_info; /** * kthread_should_stop - should this kthread return now? * - * When someone calls kthread_stop on your kthread, it will be woken + * When someone calls kthread_stop() on your kthread, it will be woken * and this will return true. You should then return, and your return * value will be passed through to kthread_stop(). */ @@ -143,7 +143,7 @@ static void keventd_create_kthread(struct work_struct *work) * it. See also kthread_run(), kthread_create_on_cpu(). * * 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 * standalone thread for which noone will call kthread_stop(), or * return when 'kthread_should_stop()' is true (which means * kthread_stop() has been called). The return value should be zero @@ -192,7 +192,7 @@ EXPORT_SYMBOL(kthread_create); * * Description: This function is equivalent to set_cpus_allowed(), * except that @cpu doesn't need to be online, and the thread must be - * stopped (i.e., just returned from kthread_create(). + * stopped (i.e., just returned from kthread_create()). */ void kthread_bind(struct task_struct *k, unsigned int cpu) {