sparc: replace for_each_cpu_mask_nr with for_each_cpu
PATCH 1/1 sparc: replace for_each_cpu_mask_nr with for_each_cpu
Simple replacement, now the _nr is redundant.
Signed-off-by Rusty Russell <[email protected]>
Signed-off-by Mike Travis <[email protected]>
--- 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;
David Miller
AppliedFrom: Rusty Russell <[email protected]>
Date: Sun, 7 Dec 2008 21:36:17 +1030
Quoted 4 lines
Simple replacement, now the
_nris redundant.Signed-off-by Rusty Russell <[email protected]>Signed-off-by Mike Travis <[email protected]>
I had to shoe-horn this into sparc-next-2.6 since we've fully unified both sparc ports to be under arch/sparc.
Applied, thanks!