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 CPUID2FAMILY was renamed to CPUID_TO_FAMI...



details:   https://anonhg.NetBSD.org/src/rev/7e8519ee5f82
branches:  trunk
changeset: 791511:7e8519ee5f82
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Nov 21 22:04:40 2013 +0000

description:
CPUID2FAMILY was renamed to CPUID_TO_FAMILY, apparently this usage was
missed.

diffstat:

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

diffs (27 lines):

diff -r cc257533d015 -r 7e8519ee5f82 sys/arch/i386/i386/pmc.c
--- a/sys/arch/i386/i386/pmc.c  Thu Nov 21 21:55:13 2013 +0000
+++ b/sys/arch/i386/i386/pmc.c  Thu Nov 21 22:04:40 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmc.c,v 1.20 2012/01/30 21:35:22 rmind Exp $   */
+/*     $NetBSD: pmc.c,v 1.21 2013/11/21 22:04:40 riz Exp $     */
 
 /*-
  * Copyright (c) 2000 Zembu Labs, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmc.c,v 1.20 2012/01/30 21:35:22 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmc.c,v 1.21 2013/11/21 22:04:40 riz Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -104,7 +104,7 @@
                         * we're missing Pentium 4 support.
                         */
                        if (cpuid_level == -1 ||
-                           CPUID2FAMILY(ci->ci_signature) == CPU_FAMILY_P4)
+                           CPUID_TO_FAMILY(ci->ci_signature) == CPU_FAMILY_P4)
                                break;
 
                        pmc_type = PMC_TYPE_I686;



Home | Main Index | Thread Index | Old Index