]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/kthread.c
Merge remote-tracking branches 'regulator/topic/max8649', 'regulator/topic/mode'...
[karo-tx-linux.git] / kernel / kthread.c
index ef483220e85564670600c9a3951e66fe20672bed..10e489c448fe4e934e2c203ca2aa7a8d0679bb5e 100644 (file)
@@ -369,7 +369,7 @@ struct task_struct *kthread_create_on_cpu(int (*threadfn)(void *data),
 {
        struct task_struct *p;
 
-       p = kthread_create_on_node(threadfn, data, cpu_to_mem(cpu), namefmt,
+       p = kthread_create_on_node(threadfn, data, cpu_to_node(cpu), namefmt,
                                   cpu);
        if (IS_ERR(p))
                return p;