public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc: replace for_each_cpu_mask_nr with for_each_cpu
@ 2008-12-07 11:06 Rusty Russell
  2008-12-08  9:10 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Rusty Russell @ 2008-12-07 11:06 UTC (permalink / raw)
  To: David S. Miller; +Cc: linux-kernel, Mike Travis, Mike Travis

Simple replacement, now the _nr is redundant.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
---
 arch/sparc64/kernel/smp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.orig/arch/sparc64/kernel/smp.c
+++ linux-2.6/arch/sparc64/kernel/smp.c
@@ -769,7 +769,7 @@ static void xcall_deliver(u64 data0, u64
 
 	/* Setup the initial cpu list.  */
 	cnt = 0;
-	for_each_cpu_mask_nr(i, *mask) {
+	for_each_cpu(i, mask) {
 		if (i == this_cpu || !cpu_online(i))
 			continue;
 		cpu_list[cnt++] = i;


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

end of thread, other threads:[~2008-12-08  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-07 11:06 [PATCH] sparc: replace for_each_cpu_mask_nr with for_each_cpu Rusty Russell
2008-12-08  9:10 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox