diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2016-12-09 04:35:07 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2016-12-09 04:35:07 +0000 |
commit | 74f814b2f90ce459ca76f72fbbe4287821df7cc5 (patch) | |
tree | a3edad1a0544c870044cf27a6ee5ccb67ae08c21 /sys/powerpc/include/cpufunc.h | |
parent | f6fa9bdf5513cba61380c41346d00496323b3198 (diff) | |
download | FreeBSD-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/include/cpufunc.h')
-rw-r--r-- | sys/powerpc/include/cpufunc.h | 2 |
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 |