]> err.no Git - linux-2.6/commitdiff
x86: don't initialize sibling and core maps during preparation
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 19 Mar 2008 17:25:39 +0000 (14:25 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:01 +0000 (17:41 +0200)
it is redundant, since it is already done by set_cpu_sibling_map()

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot_32.c

index a35055361b857244b605a1e5a8afb2eaf7f43470..5cae17f3eb75b7acfb2bbea46ee38faa50f4ae33 100644 (file)
@@ -855,18 +855,6 @@ static void __init smp_boot_cpus(unsigned int max_cpus)
                        ++kicked;
        }
 
-       /*
-        * construct cpu_sibling_map, so that we can tell sibling CPUs
-        * efficiently.
-        */
-       for_each_possible_cpu(cpu) {
-               cpus_clear(per_cpu(cpu_sibling_map, cpu));
-               cpus_clear(per_cpu(cpu_core_map, cpu));
-       }
-
-       cpu_set(0, per_cpu(cpu_sibling_map, 0));
-       cpu_set(0, per_cpu(cpu_core_map, 0));
-
        smpboot_setup_io_apic();
 
        setup_boot_clock();