really invalidate the TLB of non-boot CPUs

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20200 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2007-02-22 19:47:28 +00:00
parent 9ddc1886ae
commit ca21e6053e

View File

@ -552,13 +552,14 @@ smp_trap_non_boot_cpus(int32 cpu)
if (cpu > 0) {
boot_cpu_spin[cpu] = 1;
acquire_spinlock_nocheck(&boot_cpu_spin[cpu]);
return false;
// lets make sure we're in sync with the main cpu
// the boot processor has probably been sending us
// tlb sync messages all along the way, but we've
// been ignoring them
arch_cpu_global_TLB_invalidate();
return false;
}
return true;