diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-16 23:40:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-16 23:40:18 +0000 |
commit | f129014024ea842c94f97b0357cfdcc751977171 (patch) | |
tree | a99fa402b4bff67c2e3f207631821990304af0ad /sys/arch | |
parent | fea9d00aaea127482d88f0b547980c6bfd5d7eef (diff) |
Do not switch to the fpsp exception vectors if we are not running on an
MC68040 CPU. And suddenly MC68060 feels so happier...
MVME177 now passes all libm and libc/ieeefp regress (and probably the
Perl testsuite, too...)
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c index d315b5959eb..da965c2fe9d 100644 --- a/sys/arch/mvme68k/mvme68k/machdep.c +++ b/sys/arch/mvme68k/mvme68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.79 2003/12/20 00:34:32 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.80 2004/01/16 23:40:17 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -540,12 +540,13 @@ identifycpu() "Motorola %s: %sMHz MC680%c0 CPU", suffix, speed, mc); switch (mmutype) { #if defined(M68060) || defined(M68040) - case MMU_68060: case MMU_68040: #ifdef FPSP bcopy(&fpsp_tab, &fpvect_tab, (&fpvect_end - &fpvect_tab) * sizeof (fpvect_tab)); #endif + /* FALLTHROUGH */ + case MMU_68060: strlcat(cpu_model, "+MMU", sizeof cpu_model); break; #endif |