Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rusty Russell and committed by
David S. Miller
8e757281 81265fd9

+1 -1
+1 -1
arch/sparc/kernel/smp_64.c
··· 773 773 774 774 /* Setup the initial cpu list. */ 775 775 cnt = 0; 776 - for_each_cpu_mask_nr(i, *mask) { 776 + for_each_cpu(i, mask) { 777 777 if (i == this_cpu || !cpu_online(i)) 778 778 continue; 779 779 cpu_list[cnt++] = i;