From: Rusty Russell Date: Thu, 24 Sep 2009 15:34:48 +0000 (-0600) Subject: cpumask: Use accessors for cpu_*_mask: um X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a6a01063de6298c60f2506dc7659403e02b4b224;p=linux-beck.git 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 Signed-off-by: Mike Travis --- diff --git a/arch/um/kernel/smp.c b/arch/um/kernel/smp.c index 98351c78bc81..106bf27e2a9a 100644 --- a/arch/um/kernel/smp.c +++ b/arch/um/kernel/smp.c @@ -111,7 +111,7 @@ void smp_prepare_cpus(unsigned int maxcpus) int 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);