diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-08 04:10:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-08 04:10:08 -0500 |
commit | 8e757281defc3e45df0df8e4610f57e8ebfd7f5f (patch) | |
tree | c86878e5831df5d1c4f404755ae55ba90a982e9a /arch | |
parent | 81265fd93bc40c7c43fd36796571786ae3df00e0 (diff) |
sparc: replace for_each_cpu_mask_nr with for_each_cpu
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/smp_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c index b5225c81556c..bfe99d82d458 100644 --- a/arch/sparc/kernel/smp_64.c +++ b/arch/sparc/kernel/smp_64.c | |||
@@ -773,7 +773,7 @@ static void xcall_deliver(u64 data0, u64 data1, u64 data2, const cpumask_t *mask | |||
773 | 773 | ||
774 | /* Setup the initial cpu list. */ | 774 | /* Setup the initial cpu list. */ |
775 | cnt = 0; | 775 | cnt = 0; |
776 | for_each_cpu_mask_nr(i, *mask) { | 776 | for_each_cpu(i, mask) { |
777 | if (i == this_cpu || !cpu_online(i)) | 777 | if (i == this_cpu || !cpu_online(i)) |
778 | continue; | 778 | continue; |
779 | cpu_list[cnt++] = i; | 779 | cpu_list[cnt++] = i; |