aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/fcoe')
-rw-r--r--drivers/scsi/fcoe/fcoe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
index c30fa27402d..010432596ea 100644
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -1113,8 +1113,9 @@ static void fcoe_percpu_thread_create(unsigned int cpu)
1113 1113
1114 p = &per_cpu(fcoe_percpu, cpu); 1114 p = &per_cpu(fcoe_percpu, cpu);
1115 1115
1116 thread = kthread_create(fcoe_percpu_receive_thread, 1116 thread = kthread_create_on_node(fcoe_percpu_receive_thread,
1117 (void *)p, "fcoethread/%d", cpu); 1117 (void *)p, cpu_to_node(cpu),
1118 "fcoethread/%d", cpu);
1118 1119
1119 if (likely(!IS_ERR(thread))) { 1120 if (likely(!IS_ERR(thread))) {
1120 kthread_bind(thread, cpu); 1121 kthread_bind(thread, cpu);