]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/setup_percpu.c
x86: move prefill_possible_map calling early
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / setup_percpu.c
index 43aca2de624a6ec06746b20b50562f6113be8cbd..5fc310f746fcdc9ca9b6aa7672ee5c5e0ce9d5ca 100644 (file)
@@ -162,16 +162,6 @@ void __init setup_per_cpu_areas(void)
        char *ptr;
        int cpu;
 
-       /* no processor from mptable or madt */
-       if (!num_processors)
-               num_processors = 1;
-
-#ifdef CONFIG_HOTPLUG_CPU
-       prefill_possible_map();
-#else
-       nr_cpu_ids = num_processors;
-#endif
-
        /* Setup cpu_pda map */
        setup_cpu_pda_map();