aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-03-19 13:25:42 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:02 -0400
commitd2bcbad5f3ad38a1c09861bca7e252dde7bb8259 (patch)
treed0fc64c6930a2ba48a9f7d4e4d40eee2dc817604 /arch/x86
parent802b8133b4f78c30a2668d142d78861e27c0c6a7 (diff)
x86: do not zap_low_mappings in __smp_prepare_cpus
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/smpboot_32.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c
index 255c6f761480..88ee65585d3f 100644
--- a/arch/x86/kernel/smpboot_32.c
+++ b/arch/x86/kernel/smpboot_32.c
@@ -195,11 +195,6 @@ static void __cpuinit start_secondary(void *unused)
195 enable_NMI_through_LVT0(); 195 enable_NMI_through_LVT0();
196 enable_8259A_irq(0); 196 enable_8259A_irq(0);
197 } 197 }
198 /*
199 * low-memory mappings have been cleared, flush them from
200 * the local TLBs too.
201 */
202 local_flush_tlb();
203 198
204 /* This must be done before setting cpu_online_map */ 199 /* This must be done before setting cpu_online_map */
205 set_cpu_sibling_map(raw_smp_processor_id()); 200 set_cpu_sibling_map(raw_smp_processor_id());
@@ -714,8 +709,6 @@ static void __cpuinit __smp_prepare_cpu(int cpu)
714 schedule_work(&info.task); 709 schedule_work(&info.task);
715 wait_for_completion(&done); 710 wait_for_completion(&done);
716 } 711 }
717
718 zap_low_mappings();
719} 712}
720#endif 713#endif
721 714