Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86 s/CLFUSH/CLFLUSH/



details:   https://anonhg.NetBSD.org/src/rev/4bb662f475cf
branches:  trunk
changeset: 321339:4bb662f475cf
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Mar 12 07:12:54 2018 +0000

description:
s/CLFUSH/CLFLUSH/
No functional change.

diffstat:

 sys/arch/x86/include/specialreg.h |  4 ++--
 sys/arch/x86/x86/identcpu.c       |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r caa93883ef58 -r 4bb662f475cf sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Mon Mar 12 06:20:33 2018 +0000
+++ b/sys/arch/x86/include/specialreg.h Mon Mar 12 07:12:54 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.113 2018/03/08 04:15:11 msaitoh Exp $ */
+/*     $NetBSD: specialreg.h,v 1.114 2018/03/12 07:12:54 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -250,7 +250,7 @@
 
 /* CPUID Fn00000001 %ebx */
 #define        CPUID_BRAND_INDEX       __BITS(7,0)
-#define        CPUID_CLFUSH_SIZE       __BITS(15,8)
+#define        CPUID_CLFLUSH_SIZE      __BITS(15,8)
 #define        CPUID_HTT_CORES         __BITS(23,16)
 #define        CPUID_LOCAL_APIC_ID     __BITS(31,24)
 
diff -r caa93883ef58 -r 4bb662f475cf sys/arch/x86/x86/identcpu.c
--- a/sys/arch/x86/x86/identcpu.c       Mon Mar 12 06:20:33 2018 +0000
+++ b/sys/arch/x86/x86/identcpu.c       Mon Mar 12 07:12:54 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: identcpu.c,v 1.69 2018/02/09 18:45:55 maxv Exp $       */
+/*     $NetBSD: identcpu.c,v 1.70 2018/03/12 07:12:54 msaitoh Exp $    */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: identcpu.c,v 1.69 2018/02/09 18:45:55 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: identcpu.c,v 1.70 2018/03/12 07:12:54 msaitoh Exp $");
 
 #include "opt_xen.h"
 
@@ -842,7 +842,7 @@
                /* CLFLUSH line size is next 8 bits */
                if (ci->ci_feat_val[0] & CPUID_CFLUSH)
                        ci->ci_cflush_lsize
-                           = __SHIFTOUT(miscbytes, CPUID_CLFUSH_SIZE) << 3;
+                           = __SHIFTOUT(miscbytes, CPUID_CLFLUSH_SIZE) << 3;
                ci->ci_initapicid = __SHIFTOUT(miscbytes, CPUID_LOCAL_APIC_ID);
        }
 



Home | Main Index | Thread Index | Old Index