We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 179041e commit 3845cdbCopy full SHA for 3845cdb
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
@@ -2610,14 +2610,11 @@ static int bnx2fc_cpu_online(unsigned int cpu)
2610
2611
p = &per_cpu(bnx2fc_percpu, cpu);
2612
2613
- thread = kthread_create_on_node(bnx2fc_percpu_io_thread,
2614
- (void *)p, cpu_to_node(cpu),
2615
- "bnx2fc_thread/%d", cpu);
+ thread = kthread_create_on_cpu(bnx2fc_percpu_io_thread,
+ (void *)p, cpu, "bnx2fc_thread/%d");
2616
if (IS_ERR(thread))
2617
return PTR_ERR(thread);
2618
2619
- /* bind thread to the cpu */
2620
- kthread_bind(thread, cpu);
2621
p->iothread = thread;
2622
wake_up_process(thread);
2623
return 0;
0 commit comments