x86: use cpumask function for present, possible, and online cpus
[deliverable/linux.git] / arch / x86 / kernel / genapic_64.c
index 9546ef408b92c95177f58ba5cce6287951789735..021624c835832d81f00f1ed6ef5d5437e9303813 100644 (file)
@@ -51,7 +51,7 @@ void __init setup_apic_routing(void)
        else
 #endif
 
-       if (cpus_weight(cpu_possible_map) <= 8)
+       if (num_possible_cpus() <= 8)
                genapic = &apic_flat;
        else
                genapic = &apic_physflat;
This page took 0.1215 seconds and 5 git commands to generate.