summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/mmu_oea64.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-12-11 20:29:52 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-12-11 20:29:52 +0000
commitb636c3db3171b85649228b5a81f834f0d3ed2dec (patch)
tree095418384e3df2434e9ec8cccfd22fd67dcc2140 /sys/powerpc/aim/mmu_oea64.c
parent2c819481174363ecef4130ed50ae6003ada3d899 (diff)
downloadFreeBSD-src-b636c3db3171b85649228b5a81f834f0d3ed2dec.zip
FreeBSD-src-b636c3db3171b85649228b5a81f834f0d3ed2dec.tar.gz
Add some isync()s related to the 64-bit MMU scratch page to avoid race
conditions on its invalidation.
Diffstat (limited to 'sys/powerpc/aim/mmu_oea64.c')
-rw-r--r--sys/powerpc/aim/mmu_oea64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c
index cd791f8..f7026d1 100644
--- a/sys/powerpc/aim/mmu_oea64.c
+++ b/sys/powerpc/aim/mmu_oea64.c
@@ -1114,6 +1114,7 @@ void moea64_set_scratchpage_pa(mmu_t mmup, int which, vm_offset_t pa) {
MOEA64_PTE_CHANGE(mmup, moea64_scratchpage_pte[which],
&moea64_scratchpage_pvo[which]->pvo_pte.lpte,
moea64_scratchpage_pvo[which]->pvo_vpn);
+ isync();
}
void
OpenPOWER on IntegriCloud