diff options
author | jhb <jhb@FreeBSD.org> | 2016-11-08 06:13:22 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-11-08 06:13:22 +0000 |
commit | d0ef2d28ec977696c1bed1b44f5cd45c782a40d6 (patch) | |
tree | 0458d6e97f571a880ff0c645e7cf312968846eda /sys/i386/include/cputypes.h | |
parent | 3b5cc25eb30f8708b04139fd3ff550590382c6ad (diff) | |
download | FreeBSD-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/i386/include/cputypes.h')
-rw-r--r-- | sys/i386/include/cputypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/i386/include/cputypes.h b/sys/i386/include/cputypes.h index fb0fa47..02af4f1 100644 --- a/sys/i386/include/cputypes.h +++ b/sys/i386/include/cputypes.h @@ -63,4 +63,9 @@ #define CPU_P4 16 /* Intel Pentium 4 */ #define CPU_GEODE1100 17 /* NS Geode SC1100 */ +#ifndef LOCORE +extern int cpu; +extern int cpu_class; +#endif + #endif /* !_MACHINE_CPUTYPES_H_ */ |