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 <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
This commit is contained in:
Mike Travis 2008-12-16 17:34:02 -08:00
parent 168ef543a4
commit 1de88cd4a3

View File

@ -1903,8 +1903,8 @@ void __cpuinit generic_processor_info(int apicid, int version)
} }
#endif #endif
cpu_set(cpu, cpu_possible_map); set_cpu_possible(cpu, true);
cpu_set(cpu, cpu_present_map); set_cpu_present(cpu, true);
} }
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64