Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 Fix typo which broke the build of kernels...



details:   https://anonhg.NetBSD.org/src/rev/600e7a199ca5
branches:  trunk
changeset: 582830:600e7a199ca5
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Jul 07 13:20:53 2005 +0000

description:
Fix typo which broke the build of kernels with support for 586 and
686 class CPUs.

diffstat:

 sys/arch/i386/i386/cpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 81efa7dae4bc -r 600e7a199ca5 sys/arch/i386/i386/cpu.c
--- a/sys/arch/i386/i386/cpu.c  Thu Jul 07 12:57:03 2005 +0000
+++ b/sys/arch/i386/i386/cpu.c  Thu Jul 07 13:20:53 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.23 2005/07/06 18:35:39 fair Exp $ */
+/* $NetBSD: cpu.c,v 1.24 2005/07/07 13:20:53 tron Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.23 2005/07/06 18:35:39 fair Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.24 2005/07/07 13:20:53 tron Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -417,7 +417,7 @@
         * N.B. this is not a good idea on processors whose
         * frequency varies a lot over time (e.g. modern laptops)
         */
-       if (cpu_feature & TSC) {
+       if (cpu_feature & CPUID_TSC) {
                microtime_func = cc_microtime;
        }
 #endif



Home | Main Index | Thread Index | Old Index