x86: do not zap_low_mappings in __smp_prepare_cpus
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 19 Mar 2008 17:25:42 +0000 (14:25 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:02 +0000 (17:41 +0200)
It was okay when cpus were cold booted before this point.
But with the new state machine, they will not have arrived to
the trampoline yet. zapping low mappings will have the bad effect
of breaking it completely after paging enablement

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

index 255c6f7614809b9fd9d7af6fdbbf6372a23fb46c..88ee65585d3f41b4d4dbcc776b7f30847c490d5c 100644 (file)
@@ -195,11 +195,6 @@ static void __cpuinit start_secondary(void *unused)
                enable_NMI_through_LVT0();
                enable_8259A_irq(0);
        }
-       /*
-        * low-memory mappings have been cleared, flush them from
-        * the local TLBs too.
-        */
-       local_flush_tlb();
 
        /* This must be done before setting cpu_online_map */
        set_cpu_sibling_map(raw_smp_processor_id());
@@ -714,8 +709,6 @@ static void __cpuinit __smp_prepare_cpu(int cpu)
                schedule_work(&info.task);
                wait_for_completion(&done);
        }
-
-       zap_low_mappings();
 }
 #endif