aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/aim/trap_subr32.S
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2019-04-24 02:51:58 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2019-04-24 02:51:58 +0000
commit19b86243f4e251f7c2e6c3c557b56399e4394ed6 (patch)
tree94bb91cc5abe288928f778236a125115bd906d37 /sys/powerpc/aim/trap_subr32.S
parentaf44a263519d87a5da4eb5ef8fb0a8e115829af9 (diff)
Notes
Diffstat (limited to 'sys/powerpc/aim/trap_subr32.S')
-rw-r--r--sys/powerpc/aim/trap_subr32.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/aim/trap_subr32.S b/sys/powerpc/aim/trap_subr32.S
index 2543dd169c54c..12d61e4609d2d 100644
--- a/sys/powerpc/aim/trap_subr32.S
+++ b/sys/powerpc/aim/trap_subr32.S
@@ -68,7 +68,7 @@
lwzu sr,PM_SR(pmap); \
RESTORE_SRS(pmap,sr) \
/* Restore SR 12 */ \
- lwz sr,12*4(pmap); mtsr 12,sr
+ lwz sr,12*4(pmap); mtsr 12,sr; isync
/*
* Kernel SRs are loaded directly from kernel_pmap_
@@ -799,6 +799,7 @@ CNAME(trapexit):
mfmsr %r3
andi. %r3,%r3,~PSL_EE@l
mtmsr %r3
+ isync
/* Test AST pending: */
lwz %r5,FRAME_SRR1+8(%r1)
mtcr %r5