aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/smpboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/smpboot.c')
-rw-r--r--kernel/smpboot.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/smpboot.c b/kernel/smpboot.c
index 13bc43d1fb22..4a5c6e73ecd4 100644
--- a/kernel/smpboot.c
+++ b/kernel/smpboot.c
@@ -186,6 +186,11 @@ __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu)
186 kfree(td); 186 kfree(td);
187 return PTR_ERR(tsk); 187 return PTR_ERR(tsk);
188 } 188 }
189 /*
190 * Park the thread so that it could start right on the CPU
191 * when it is available.
192 */
193 kthread_park(tsk);
189 get_task_struct(tsk); 194 get_task_struct(tsk);
190 *per_cpu_ptr(ht->store, cpu) = tsk; 195 *per_cpu_ptr(ht->store, cpu) = tsk;
191 if (ht->create) { 196 if (ht->create) {