cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Dec 2009 17:43:14 +0000 (11:43 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Dec 2009 01:13:16 +0000 (11:43 +1030)
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
drivers/scsi/fcoe/fcoe.c

index a30ffaa..51c24b3 100644 (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) {