diff options
author | 2013-08-18 22:10:58 +0000 | |
---|---|---|
committer | 2013-08-18 22:10:58 +0000 | |
commit | ce616353a0e9725678a99818c5844b10a4a4569b (patch) | |
tree | 3fd26c5619bb194c453ddfef24c40bc0a5560f79 | |
parent | Remove wrong workaround for the 88100 `awk bug' - it turns out compiling (diff) | |
download | wireguard-openbsd-ce616353a0e9725678a99818c5844b10a4a4569b.tar.xz wireguard-openbsd-ce616353a0e9725678a99818c5844b10a4a4569b.zip |
No need to test for DMT0 being valid a second time in the `save DMT and
clear proper SSBR bits' code path.
-rw-r--r-- | sys/arch/m88k/m88k/eh_common.S | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sys/arch/m88k/m88k/eh_common.S b/sys/arch/m88k/m88k/eh_common.S index 1b4ed9198d0..dd2d6319a45 100644 --- a/sys/arch/m88k/m88k/eh_common.S +++ b/sys/arch/m88k/m88k/eh_common.S @@ -1,4 +1,4 @@ -/* $OpenBSD: eh_common.S,v 1.59 2013/08/15 19:29:10 miod Exp $ */ +/* $OpenBSD: eh_common.S,v 1.60 2013/08/18 22:10:58 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1991 Carnegie Mellon University @@ -1069,15 +1069,14 @@ ASLOCAL(pfsr_done) st TMP2, %r31, EF_DMD1 st TMP3, %r31, EF_DMD2 -/* - * need to clear "appropriate" bits in the SSBR before - * we restart the FPU - */ - - ldcr TMP2, DMT0 - bb0.n DMT_VALID_BIT, TMP2, 8f /* make sure an exception in fpu_enable will not see our DMT0 */ - stcr %r0, DMT0 + stcr %r0, DMT0 + + /* + * need to clear "appropriate" bits in the SSBR before + * we restart the FPU + */ + ld TMP2, %r31, EF_DMT0 bb1 DMT_LOCK_BIT, TMP2, 1f bb1 DMT_WRITE_BIT, TMP2, 2f 1: |