diff options
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index a30ffaa1222c..51c24b37c60a 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -1231,7 +1231,7 @@ int fcoe_rcv(struct sk_buff *skb, struct net_device *netdev, | |||
1231 | "CPU.\n"); | 1231 | "CPU.\n"); |
1232 | 1232 | ||
1233 | spin_unlock_bh(&fps->fcoe_rx_list.lock); | 1233 | spin_unlock_bh(&fps->fcoe_rx_list.lock); |
1234 | cpu = first_cpu(cpu_online_map); | 1234 | cpu = cpumask_first(cpu_online_mask); |
1235 | fps = &per_cpu(fcoe_percpu, cpu); | 1235 | fps = &per_cpu(fcoe_percpu, cpu); |
1236 | spin_lock_bh(&fps->fcoe_rx_list.lock); | 1236 | spin_lock_bh(&fps->fcoe_rx_list.lock); |
1237 | if (!fps->thread) { | 1237 | if (!fps->thread) { |