Skip to contentSkip to conversation

sparc: replace for_each_cpu_mask_nr with for_each_cpu

PATCH Applied Rusty Russell 2 participants 2 messages Dec 7, 2008 – Dec 8, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc: replace for_each_cpu_mask_nr with for_each_cpu

Simple replacement, now the _nr is redundant.

---
 arch/sparc64/kernel/smp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sparc64/kernel/smp.c +1 -1
@@ -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;