|
@@ -2290,9 +2290,9 @@ static void bnx2fc_percpu_thread_create(unsigned int cpu)
|
|
|
|
|
|
p = &per_cpu(bnx2fc_percpu, cpu);
|
|
|
|
|
|
- thread = kthread_create(bnx2fc_percpu_io_thread,
|
|
|
- (void *)p,
|
|
|
- "bnx2fc_thread/%d", cpu);
|
|
|
+ thread = kthread_create_on_node(bnx2fc_percpu_io_thread,
|
|
|
+ (void *)p, cpu_to_node(cpu),
|
|
|
+ "bnx2fc_thread/%d", cpu);
|
|
|
/* bind thread to the cpu */
|
|
|
if (likely(!IS_ERR(thread))) {
|
|
|
kthread_bind(thread, cpu);
|