Fix common misspellings
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / kernel / workqueue.c
index 5ca7ce9ce754d5bc66ccea708dea458885d0f86a..8859a41806dddae875e1ceae1e6ed94a4e3aebff 100644 (file)
@@ -1291,7 +1291,7 @@ __acquires(&gcwq->lock)
                        return true;
                spin_unlock_irq(&gcwq->lock);
 
-               /* CPU has come up inbetween, retry migration */
+               /* CPU has come up in between, retry migration */
                cpu_relax();
        }
 }
@@ -1366,8 +1366,10 @@ static struct worker *create_worker(struct global_cwq *gcwq, bool bind)
        worker->id = id;
 
        if (!on_unbound_cpu)
-               worker->task = kthread_create(worker_thread, worker,
-                                             "kworker/%u:%d", gcwq->cpu, id);
+               worker->task = kthread_create_on_node(worker_thread,
+                                                     worker,
+                                                     cpu_to_node(gcwq->cpu),
+                                                     "kworker/%u:%d", gcwq->cpu, id);
        else
                worker->task = kthread_create(worker_thread, worker,
                                              "kworker/u:%d", id);