From 12e93eb728c6165cbd237ac9162e001a8c963f1e Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Sun, 16 Oct 2011 18:56:43 +0800 Subject: hotplug: sync_unplug: No " " in task name Otherwise the output will look a little odd. Signed-off-by: Yong Zhang Link: http://lkml.kernel.org/r/1318762607-2261-2-git-send-email-yong.zhang0@gmail.com Signed-off-by: Thomas Gleixner diff --git a/kernel/cpu.c b/kernel/cpu.c index 05e0381..b06757c 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -143,7 +143,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); -- cgit v0.10.2