aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sparc/kernel/smp_64.c2
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;