struct cpu_nameclass is a private to identcpu.c, move it there.

This commit is contained in:
Poul-Henning Kamp 2004-05-30 15:16:07 +00:00
parent a83e8010cc
commit a041b840d2
2 changed files with 4 additions and 6 deletions

View File

@ -116,7 +116,10 @@ static const char *cpu_brandtable[MAX_BRAND_INDEX + 1] = {
};
#endif
static struct cpu_nameclass i386_cpus[] = {
static struct {
char *cpu_name;
int cpu_class;
} i386_cpus[] = {
{ "Intel 80286", CPUCLASS_286 }, /* CPU_286 */
{ "i386SX", CPUCLASS_386 }, /* CPU_386SX */
{ "i386DX", CPUCLASS_386 }, /* CPU_386 */

View File

@ -61,11 +61,6 @@
#define CPU_P4 16 /* Intel Pentium 4 */
#ifndef LOCORE
struct cpu_nameclass {
char *cpu_name;
int cpu_class;
};
extern int cpu;
extern int cpu_class;
#endif