x86: use cpumask function for present, possible, and online cpus
[linux-3.10.git] / arch / x86 / kernel / tlb_64.c
index df224a8..a1f07d7 100644 (file)
@@ -195,9 +195,9 @@ static int __cpuinit init_smp_flush(void)
 {
        int i;
 
-       for_each_cpu_mask(i, cpu_possible_map) {
+       for_each_possible_cpu(i)
                spin_lock_init(&per_cpu(flush_state, i).tlbstate_lock);
-       }
+
        return 0;
 }
 core_initcall(init_smp_flush);