Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/x86 need definition



details:   https://anonhg.NetBSD.org/src/rev/c0b46bb69389
branches:  trunk
changeset: 812372:c0b46bb69389
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 13 16:11:14 2015 +0000

description:
need definition

diffstat:

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

diffs (27 lines):

diff -r 2f40009ad2c7 -r c0b46bb69389 sys/arch/xen/x86/cpu.c
--- a/sys/arch/xen/x86/cpu.c    Sun Dec 13 15:53:05 2015 +0000
+++ b/sys/arch/xen/x86/cpu.c    Sun Dec 13 16:11:14 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.102 2015/12/13 15:22:31 christos Exp $       */
+/*     $NetBSD: cpu.c,v 1.103 2015/12/13 16:11:14 christos Exp $       */
 /* NetBSD: cpu.c,v 1.18 2004/02/20 17:35:01 yamt Exp  */
 
 /*-
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.102 2015/12/13 15:22:31 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.103 2015/12/13 16:11:14 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -172,7 +172,7 @@
 struct cpu_info *cpu_info_list = &cpu_info_primary;
 struct cpu_info *phycpu_info_list = &phycpu_info_primary;
 
-extern uint32_t cpu_feature[]; /* X86 CPUID feature bits
+uint32_t cpu_feature[7]; /* X86 CPUID feature bits
                          *     [0] basic features %edx
                          *     [1] basic features %ecx
                          *     [2] extended features %edx



Home | Main Index | Thread Index | Old Index