diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-03-19 13:25:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:01 -0400 |
commit | 3cf19f31d967da2c1279142d4dbafe18f521a1bf (patch) | |
tree | 8a8d1351041910eb427dd1e6cd457d1bb1426b78 /arch/x86/kernel/smpboot_32.c | |
parent | 17c9ab1eabcc08794064a6e3232ac421664c9ce1 (diff) |
x86: don't set maps in native_smp_prepare_boot_cpu()
By this time, they are already set in init routines
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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c index 87c9a75d929c..bfdfe3c64d06 100644 --- a/arch/x86/kernel/smpboot_32.c +++ b/arch/x86/kernel/smpboot_32.c | |||
@@ -889,10 +889,7 @@ void __init native_smp_prepare_boot_cpu(void) | |||
889 | init_gdt(cpu); | 889 | init_gdt(cpu); |
890 | switch_to_new_gdt(); | 890 | switch_to_new_gdt(); |
891 | 891 | ||
892 | cpu_set(cpu, cpu_online_map); | ||
893 | cpu_set(cpu, cpu_callout_map); | 892 | cpu_set(cpu, cpu_callout_map); |
894 | cpu_set(cpu, cpu_present_map); | ||
895 | cpu_set(cpu, cpu_possible_map); | ||
896 | __get_cpu_var(cpu_state) = CPU_ONLINE; | 893 | __get_cpu_var(cpu_state) = CPU_ONLINE; |
897 | } | 894 | } |
898 | 895 | ||