summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include')
-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 84be33d..f02ff3b 100644
--- a/sys/powerpc/include/cpufunc.h
+++ b/sys/powerpc/include/cpufunc.h
@@ -65,7 +65,7 @@ static __inline void
mtmsr(register_t value)
{
- __asm __volatile ("mtmsr %0" :: "r"(value));
+ __asm __volatile ("mtmsr %0; isync" :: "r"(value));
}
static __inline register_t
OpenPOWER on IntegriCloud