summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/cpu.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-10-28 11:43:57 +0000
committerbde <bde@FreeBSD.org>1997-10-28 11:43:57 +0000
commit561cc79f5093268af954eefbb941f99824e15be4 (patch)
tree1ce3e367848ae19f363ddefb9175eb769538fec7 /sys/amd64/include/cpu.h
parentc2c827e04f2282df60ba15e573159b3c7c0968b1 (diff)
downloadFreeBSD-src-561cc79f5093268af954eefbb941f99824e15be4.zip
FreeBSD-src-561cc79f5093268af954eefbb941f99824e15be4.tar.gz
Don't include <machine/cputypes.h> or declare cputype/class interfaces
in <machine/cpu.h>. Moved the declarations to <machine/cputypes.h>. Fixed style bugs in the moved code. Fixed everything that depended on the nested include. Don't include <machine/cpu.h> (in the changed files) unless something in it is used directly.
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r--sys/amd64/include/cpu.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h
index 5c0c532..4b5e6e9 100644
--- a/sys/amd64/include/cpu.h
+++ b/sys/amd64/include/cpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
- * $Id: cpu.h,v 1.33 1997/08/30 02:51:58 kato Exp $
+ * $Id: cpu.h,v 1.34 1997/10/27 17:23:02 bde Exp $
*/
#ifndef _MACHINE_CPU_H_
@@ -115,16 +115,6 @@
#define astoff()
/*
- * pull in #defines for kinds of processors
- */
-#include <machine/cputypes.h>
-
-struct cpu_nameclass {
- char *cpu_name;
- int cpu_class;
-};
-
-/*
* CTL_MACHDEP definitions.
*/
#define CPU_CONSDEV 1 /* dev_t: console terminal device */
@@ -145,8 +135,6 @@ struct cpu_nameclass {
#ifdef KERNEL
extern char btext[];
-extern int cpu;
-extern int cpu_class;
extern char etext[];
extern u_char intr_nesting_level;
extern int want_resched; /* resched was called */
OpenPOWER on IntegriCloud