summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-12-30 14:45:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-12-30 14:45:26 +0000
commitbe4b1a1d0add6a182af27b43e318fcf5069ae6e0 (patch)
treeb7839a6df9c37a8db2a00f693d51634136d33cf9 /sys/arch
parent38a7680568d6a34852ff96c3d487a4eca2911d8b (diff)
Correctly handle non-null state frames on 68020 and 68030 in fpfault.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hp300/hp300/locore.s4
-rw-r--r--sys/arch/mac68k/mac68k/locore.s4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hp300/hp300/locore.s b/sys/arch/hp300/hp300/locore.s
index fe200e1a6fe..0bb89e04776 100644
--- a/sys/arch/hp300/hp300/locore.s
+++ b/sys/arch/hp300/hp300/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.61 2007/10/10 15:53:51 art Exp $ */
+/* $OpenBSD: locore.s,v 1.62 2007/12/30 14:45:24 miod Exp $ */
/* $NetBSD: locore.s,v 1.91 1998/11/11 06:41:25 thorpej Exp $ */
/*
@@ -965,7 +965,7 @@ ENTRY_NOPROFILE(fpfault)
#if defined(M68040) || defined(M68060)
/* always null state frame on 68040, 68060 */
cmpl #FPU_68040,_C_LABEL(fputype)
- jle Lfptnull
+ jge Lfptnull
#endif
tstb a0@ | null state frame?
jeq Lfptnull | yes, safe
diff --git a/sys/arch/mac68k/mac68k/locore.s b/sys/arch/mac68k/mac68k/locore.s
index 7539543992f..5fe0927635b 100644
--- a/sys/arch/mac68k/mac68k/locore.s
+++ b/sys/arch/mac68k/mac68k/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.60 2007/11/24 20:58:26 deraadt Exp $ */
+/* $OpenBSD: locore.s,v 1.61 2007/12/30 14:45:25 miod Exp $ */
/* $NetBSD: locore.s,v 1.103 1998/07/09 06:02:50 scottr Exp $ */
/*
@@ -591,7 +591,7 @@ ENTRY_NOPROFILE(fpfault)
#if defined(M68040) || defined(M68060)
/* always null state frame on 68040, 68060 */
cmpl #FPU_68040,_C_LABEL(fputype)
- jle Lfptnull
+ jge Lfptnull
#endif
tstb a0@ | null state frame?
jeq Lfptnull | yes, safe