summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/initcpu.c
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-07-24 14:19:25 +0000
committerkato <kato@FreeBSD.org>1997-07-24 14:19:25 +0000
commitb4ed1c780b58a6bc14068ba126cefa601ef922c2 (patch)
tree9b4be54413d2df4b0d2a02f5ace028ead4bf19aa /sys/amd64/amd64/initcpu.c
parentc51924a1cb9e6844d9a1b4fb6fa23668dc591f63 (diff)
downloadFreeBSD-src-b4ed1c780b58a6bc14068ba126cefa601ef922c2.zip
FreeBSD-src-b4ed1c780b58a6bc14068ba126cefa601ef922c2.tar.gz
Treat 6x86MX CPU as 686-class CPU instead of 586-class CPU.
Diffstat (limited to 'sys/amd64/amd64/initcpu.c')
-rw-r--r--sys/amd64/amd64/initcpu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/amd64/amd64/initcpu.c b/sys/amd64/amd64/initcpu.c
index 624c366..5ed426d 100644
--- a/sys/amd64/amd64/initcpu.c
+++ b/sys/amd64/amd64/initcpu.c
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: initcpu.c,v 1.5 1997/05/31 08:45:24 kato Exp $
+ * $Id: initcpu.c,v 1.6 1997/06/27 13:46:19 kato Exp $
*/
#include "opt_cpu.h"
@@ -52,7 +52,7 @@ static void init_i486_on_386(void);
static void init_6x86(void);
#endif /* I486_CPU */
-#ifdef I586_CPU
+#ifdef I686_CPU
static void init_6x86MX(void);
#endif
@@ -352,7 +352,7 @@ init_6x86(void)
}
#endif /* I486_CPU */
-#ifdef I586_CPU
+#ifdef I686_CPU
/*
* Cyrix 6x86MX (code-named M2)
*
@@ -405,7 +405,7 @@ init_6x86MX(void)
write_eflags(eflags);
}
-#endif /* I586_CPU */
+#endif /* I686_CPU */
void
initializecpu(void)
@@ -434,7 +434,7 @@ initializecpu(void)
init_6x86();
break;
#endif /* I486_CPU */
-#ifdef I586_CPU
+#ifdef I686_CPU
case CPU_M2:
init_6x86MX();
break;
OpenPOWER on IntegriCloud