sparc: replace for_each_cpu_mask_nr with for_each_cpu
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 8 Dec 2008 09:10:08 +0000 (01:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Dec 2008 09:10:08 +0000 (01:10 -0800)
Simple replacement, now the _nr is redundant.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/smp_64.c

index b5225c81556c691e4ac43404cd42d929397a2e68..bfe99d82d458702d32bf52a863cf00345e04a8e2 100644 (file)
@@ -773,7 +773,7 @@ static void xcall_deliver(u64 data0, u64 data1, u64 data2, const cpumask_t *mask
 
        /* 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;