Skip to contentSkip to conversation

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

PATCH In review Rusty Russell 1 participant 1 message Nov 3, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Cc "James E.J. Bottomley" <[email protected]>
Cc Robert Love <[email protected]>
Cc Chris Leech <[email protected]>
---
 drivers/scsi/fcoe/fcoe.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/fcoe/fcoe.c +1 -1
@@ -1047,7 +1047,7 @@ int fcoe_rcv(struct sk_buff *skb, struct
 				"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) {