From 31f515916f9a953c7245bef8de844c205718b95b Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 26 Jun 2003 16:41:32 +0000 Subject: [PATCH] -make cpu_feature unsigned, just like ci_feature_flags -clean up duplicate declaration of cpu_info_primary --- sys/arch/i386/include/cpu.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h index 4b75c586ccc7..366994d0602e 100644 --- a/sys/arch/i386/include/cpu.h +++ b/sys/arch/i386/include/cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.101 2003/05/20 22:53:35 kristerw Exp $ */ +/* $NetBSD: cpu.h,v 1.102 2003/06/26 16:41:32 drochner Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -217,7 +217,6 @@ extern void need_resched __P((struct cpu_info *)); #define X86_MAXPROCS 1 #ifdef _KERNEL -extern struct cpu_info cpu_info_primary; #define curcpu() (&cpu_info_primary) @@ -244,7 +243,7 @@ do { \ #define aston(p) ((p)->p_md.md_astpending = 1) -#endif +#endif /* MULTIPROCESSOR */ extern u_int32_t cpus_attached; @@ -329,7 +328,7 @@ struct cpu_cpuid_nameclass { #ifdef _KERNEL extern int biosbasemem; extern int biosextmem; -extern int cpu_feature; +extern unsigned int cpu_feature; extern int cpu; extern int cpu_class; extern const struct cpu_nocpuid_nameclass i386_nocpuid_cpus[];