All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 9/14] cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c
@ 2009-11-03  4:28 ` Rusty Russell
  0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2009-11-03  4:28 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, James E.J. Bottomley, Robert Love, Chris Leech,
	linux-scsi

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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -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) {


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 9/14] cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c
@ 2009-11-03  4:28 ` Rusty Russell
  0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2009-11-03  4:28 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, James E.J. Bottomley, Robert Love, Chris Leech,
	linux-scsi, James E.J. Bottomley, Robert Love, Chris Leech,
	linux-scsi

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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -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) {


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-03  4:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-03  4:28 [PATCH 9/14] cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c Rusty Russell
2009-11-03  4:28 ` Rusty Russell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.