From: Mike Travis Date: Wed, 17 Dec 2008 01:34:02 +0000 (-0800) Subject: x86: Use cpumask accessors code for possible/present maps. X-Git-Tag: v2.6.29-rc1~538^2~21^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1de88cd4a33fcc2fcf70cbce01688723f728675d;p=linux-2.6-omap-h63xx.git x86: Use cpumask accessors code for possible/present maps. Impact: use new API Use the accessors rather than frobbing bits directly. Most of this is in arch code I haven't even compiled, but is straightforward. Signed-off-by: Rusty Russell Signed-off-by: Mike Travis --- diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index 3b630ec2493..edda4c00e3d 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c @@ -1903,8 +1903,8 @@ void __cpuinit generic_processor_info(int apicid, int version) } #endif - cpu_set(cpu, cpu_possible_map); - cpu_set(cpu, cpu_present_map); + set_cpu_possible(cpu, true); + set_cpu_present(cpu, true); } #ifdef CONFIG_X86_64