diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-10-16 18:56:43 +0800 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-02-13 00:34:57 +0100 |
commit | d53fa489f55e334afb9847a32b3e6b83ec9b810d (patch) | |
tree | 096f6777aa166590b3ff0f8c29cc6a1b5b843251 | |
parent | fa2c5c6610e1533bce653a24feb9d016b48d967e (diff) | |
download | rt-linux-d53fa489f55e334afb9847a32b3e6b83ec9b810d.tar.gz |
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 538af019b2a617..5821286b8bd6e5 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -168,7 +168,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); |