cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c

Signed-off-by: Rusty Russell <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: Robert Love <[email protected]>
Cc: Chris Leech <[email protected]>
Cc: [email protected]
This commit is contained in:
Rusty Russell 2009-12-17 11:43:14 -06:00
commit 6957177f5c

View file

@ -1231,7 +1231,7 @@ int fcoe_rcv(struct sk_buff *skb, struct net_device *netdev,
"CPU.\n");
spin_unlock_bh(&fps->fcoe_rx_list.lock);
cpu = first_cpu(cpu_online_map);
cpu = cpumask_first(cpu_online_mask);
fps = &per_cpu(fcoe_percpu, cpu);
spin_lock_bh(&fps->fcoe_rx_list.lock);
if (!fps->thread) {