summaryrefslogtreecommitdiff
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorYong Zhang <yong.zhang0@gmail.com>2011-10-16 10:56:43 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:35 (GMT)
commit9a8d18d3b70c6723aa019df25e32b818c624dd4a (patch)
treebfd33b37bc0473f5ecb1bc52328898fcc400d5bb /kernel/cpu.c
parentbd0153b77b72ce905c090353c664fb2d2f459ebb (diff)
downloadlinux-fsl-qoriq-9a8d18d3b70c6723aa019df25e32b818c624dd4a.tar.xz
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>
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r--kernel/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 7b57acb..3a4652d 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -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);