hotplug: sync_unplug: No " " 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>
This commit is contained in:
Yong Zhang 2011-10-16 18:56:43 +08:00 committed by Alibek Omarov
parent 0afadd7d1c
commit 1301122193
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,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);