summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2016-12-09 04:35:07 +0000
committerjhibbits <jhibbits@FreeBSD.org>2016-12-09 04:35:07 +0000
commit74f814b2f90ce459ca76f72fbbe4287821df7cc5 (patch)
treea3edad1a0544c870044cf27a6ee5ccb67ae08c21 /sys/powerpc
parentf6fa9bdf5513cba61380c41346d00496323b3198 (diff)
downloadFreeBSD-src-74f814b2f90ce459ca76f72fbbe4287821df7cc5.zip
FreeBSD-src-74f814b2f90ce459ca76f72fbbe4287821df7cc5.tar.gz
MFC r309167:
Add an isync to after mtsrin, required by the MPC750 errata
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/cpufunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/include/cpufunc.h b/sys/powerpc/include/cpufunc.h
index c949d53..378274b 100644
--- a/sys/powerpc/include/cpufunc.h
+++ b/sys/powerpc/include/cpufunc.h
@@ -82,7 +82,7 @@ static __inline void
mtsrin(vm_offset_t va, register_t value)
{
- __asm __volatile ("mtsrin %0,%1" :: "r"(value), "r"(va));
+ __asm __volatile ("mtsrin %0,%1; isync" :: "r"(value), "r"(va));
}
static __inline register_t
OpenPOWER on IntegriCloud