From: Rusty Russell Date: Thu, 17 Dec 2009 17:43:14 +0000 (-0600) Subject: cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6957177f5c3c0e51b9e90a1d7fadb3177a333949;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c Signed-off-by: Rusty Russell Cc: "James E.J. Bottomley" Cc: Robert Love Cc: Chris Leech Cc: linux-scsi@vger.kernel.org --- 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, "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) {