From: Rusty Russell Date: Thu, 24 Sep 2009 15:34:47 +0000 (-0600) Subject: cpumask: Use accessors for cpu_*_mask: m32r X-Git-Tag: v2.6.32-rc1~144^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2377afdde16a50b72e0b7ddb96d6b905f73754e2;p=platform%2Fkernel%2Flinux-stable.git cpumask: Use accessors for cpu_*_mask: m32r 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/m32r/kernel/smpboot.c b/arch/m32r/kernel/smpboot.c index 655ea1c..e034844 100644 --- a/arch/m32r/kernel/smpboot.c +++ b/arch/m32r/kernel/smpboot.c @@ -178,7 +178,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) for (phys_id = 0 ; phys_id < nr_cpu ; phys_id++) physid_set(phys_id, phys_cpu_present_map); #ifndef CONFIG_HOTPLUG_CPU - cpu_present_map = cpu_possible_map; + init_cpu_present(&cpu_possible_map); #endif show_mp_info(nr_cpu);