diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-10-16 18:56:43 +0800 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2011-12-28 16:25:39 -0600 |
commit | 30aefd1d7411e726c9e69ea4543e3068fb226779 (patch) | |
tree | 7151764ecbc693391d16a4b73060c87039173683 /kernel | |
parent | 77b32e1656bd7492bf3268900b44393ebb1ccd8e (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>
Diffstat (limited to 'kernel')
-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); |