diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-10-16 18:56:43 +0800 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-03-24 10:26:48 -0500 |
commit | a441bbf1af1b2eed2af0b59e7da0cdf3160ee8f2 (patch) | |
tree | 00a962b2543804ea7358b3edd99a5dd2adee5e63 | |
parent | 94e0b2336ec2ddf0c5b2cc7a522a72f07a99f474 (diff) |
hotplug: sync_unplug: No "\n" in task name
Otherwise the output will look a little odd.
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Link: http://lkml.kernel.org/r/1318762607-2261-2-git-send-email-yong.zhang0@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | kernel/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index df0a2fcd55e1..171cb6ce29c7 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -138,7 +138,7 @@ static int cpu_unplug_begin(unsigned int cpu) struct task_struct *tsk; init_completion(&hp->synced); - tsk = kthread_create(sync_unplug_thread, hp, "sync_unplug/%d\n", cpu); + tsk = kthread_create(sync_unplug_thread, hp, "sync_unplug/%d", cpu); if (IS_ERR(tsk)) return (PTR_ERR(tsk)); kthread_bind(tsk, cpu); |