mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: "James E.J. Bottomley" <James.Bottomley@suse.de> Cc: Robert Love <robert.w.love@intel.com> Cc: Chris Leech <christopher.leech@intel.com> Cc: linux-scsi@vger.kernel.org
This commit is contained in:
parent
58463c1fe2
commit
6957177f5c
1 changed files with 1 additions and 1 deletions
|
@ -1231,7 +1231,7 @@ int fcoe_rcv(struct sk_buff *skb, struct net_device *netdev,
|
||||||
"CPU.\n");
|
"CPU.\n");
|
||||||
|
|
||||||
spin_unlock_bh(&fps->fcoe_rx_list.lock);
|
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);
|
fps = &per_cpu(fcoe_percpu, cpu);
|
||||||
spin_lock_bh(&fps->fcoe_rx_list.lock);
|
spin_lock_bh(&fps->fcoe_rx_list.lock);
|
||||||
if (!fps->thread) {
|
if (!fps->thread) {
|
||||||
|
|
Loading…
Reference in a new issue