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:
parent
9ddc1886ae
commit
ca21e6053e
@ -552,13 +552,14 @@ smp_trap_non_boot_cpus(int32 cpu)
|
|||||||
if (cpu > 0) {
|
if (cpu > 0) {
|
||||||
boot_cpu_spin[cpu] = 1;
|
boot_cpu_spin[cpu] = 1;
|
||||||
acquire_spinlock_nocheck(&boot_cpu_spin[cpu]);
|
acquire_spinlock_nocheck(&boot_cpu_spin[cpu]);
|
||||||
return false;
|
|
||||||
|
|
||||||
// lets make sure we're in sync with the main cpu
|
// lets make sure we're in sync with the main cpu
|
||||||
// the boot processor has probably been sending us
|
// the boot processor has probably been sending us
|
||||||
// tlb sync messages all along the way, but we've
|
// tlb sync messages all along the way, but we've
|
||||||
// been ignoring them
|
// been ignoring them
|
||||||
arch_cpu_global_TLB_invalidate();
|
arch_cpu_global_TLB_invalidate();
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user