diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-03-19 13:25:39 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:01 -0400 |
commit | e7f8b14e028f7a2f9e5c83c17164aeeeb9c61f17 (patch) | |
tree | 4a3f9f707977e421425f31d7d34133187be883ed /arch/x86/kernel/smpboot_32.c | |
parent | 50e440aa5323860d9e5960143b720e461ed0c582 (diff) |
x86: don't initialize sibling and core maps during preparation
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>
Diffstat (limited to 'arch/x86/kernel/smpboot_32.c')
-rw-r--r-- | arch/x86/kernel/smpboot_32.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c index a35055361b85..5cae17f3eb75 100644 --- a/arch/x86/kernel/smpboot_32.c +++ b/arch/x86/kernel/smpboot_32.c | |||
@@ -855,18 +855,6 @@ static void __init smp_boot_cpus(unsigned int max_cpus) | |||
855 | ++kicked; | 855 | ++kicked; |
856 | } | 856 | } |
857 | 857 | ||
858 | /* | ||
859 | * construct cpu_sibling_map, so that we can tell sibling CPUs | ||
860 | * efficiently. | ||
861 | */ | ||
862 | for_each_possible_cpu(cpu) { | ||
863 | cpus_clear(per_cpu(cpu_sibling_map, cpu)); | ||
864 | cpus_clear(per_cpu(cpu_core_map, cpu)); | ||
865 | } | ||
866 | |||
867 | cpu_set(0, per_cpu(cpu_sibling_map, 0)); | ||
868 | cpu_set(0, per_cpu(cpu_core_map, 0)); | ||
869 | |||
870 | smpboot_setup_io_apic(); | 858 | smpboot_setup_io_apic(); |
871 | 859 | ||
872 | setup_boot_clock(); | 860 | setup_boot_clock(); |