summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/sparc/locore.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/locore.s b/sys/arch/sparc/sparc/locore.s
index 2c2ed132bbe..074c5c98bc3 100644
--- a/sys/arch/sparc/sparc/locore.s
+++ b/sys/arch/sparc/sparc/locore.s
@@ -1238,10 +1238,10 @@ memfault_sun4m:
st %g1, [%sp + CCFSZ + 20] ! save g1
rd %y, %l4 ! save y
- mov SRMMU_FAULTSTAT, %o0
+ mov SRMMU_SFSTAT, %o0
std %g2, [%sp + CCFSZ + 24] ! save g2, g3
lda [%o0] ASI_SRMMU, %o1 ! srmmu fault status
- mov SRMMU_FAULTADDR, %o0
+ mov SRMMU_SFADDR, %o0
std %g4, [%sp + CCFSZ + 32] ! (sneak g4,g5 in here)
lda [%o0] ASI_SRMMU, %o2 ! srmmu fault address
! XXX check for memory errors?