x86: cleanup some remaining usages of NR_CPUS where s/b nr_cpu_ids
[safe/jmp/linux-2.6] / arch / x86 / kernel / smpboot.c
index f49c26b..6bd4d9b 100644 (file)
@@ -1154,7 +1154,7 @@ static void __init smp_cpu_index_default(void)
        for_each_possible_cpu(i) {
                c = &cpu_data(i);
                /* mark all to hotplug */
-               c->cpu_index = NR_CPUS;
+               c->cpu_index = nr_cpu_ids;
        }
 }