cpumask: Use accessors for cpu_*_mask: um
PATCH 6/13 cpumask: Use accessors for cpu_*_mask: um
Use the accessors rather than frobbing bits directly (the new versions are const).
Signed-off-by Rusty Russell <[email protected]>
Signed-off-by Mike Travis <[email protected]>
--- arch/um/kernel/smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/kernel/smp.c +1 -1
@@ -118,7 +118,7 @@ void smp_prepare_cpus(unsigned int maxcpint i;for (i =0 ; i < ncpus; ++i) -cpu_set (i, cpu_possible_map); +set_cpu_possible (i, true);cpu_clear (me, cpu_online_map);cpu_set (me, cpu_online_map);