summaryrefslogtreecommitdiffstats
path: root/sys/x86/include/cputypes.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-11-08 06:13:22 +0000
committerjhb <jhb@FreeBSD.org>2016-11-08 06:13:22 +0000
commitd0ef2d28ec977696c1bed1b44f5cd45c782a40d6 (patch)
tree0458d6e97f571a880ff0c645e7cf312968846eda /sys/x86/include/cputypes.h
parent3b5cc25eb30f8708b04139fd3ff550590382c6ad (diff)
downloadFreeBSD-src-d0ef2d28ec977696c1bed1b44f5cd45c782a40d6.zip
FreeBSD-src-d0ef2d28ec977696c1bed1b44f5cd45c782a40d6.tar.gz
MFC 305836: Remove 'cpu' and 'cpu_class' on amd64.
The 'cpu' and 'cpu_class' variables were always set to the same value on amd64 and are legacy holdovers from i386. Remove them entirely on amd64. Requested by: kib (MFC)
Diffstat (limited to 'sys/x86/include/cputypes.h')
-rw-r--r--sys/x86/include/cputypes.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/x86/include/cputypes.h b/sys/x86/include/cputypes.h
index ca6ce83..4b8bd10 100644
--- a/sys/x86/include/cputypes.h
+++ b/sys/x86/include/cputypes.h
@@ -46,9 +46,4 @@
#define CPU_VENDOR_RISE 0xdead2bad /* Rise */
#define CPU_VENDOR_CENTAUR CPU_VENDOR_IDT
-#ifndef LOCORE
-extern int cpu;
-extern int cpu_class;
-#endif
-
#endif /* !_X86_CPUTYPES_H_ */
OpenPOWER on IntegriCloud