MFi386: move cpu_nameclass struct next to its only consumer

This commit is contained in:
Peter Wemm 2004-06-03 20:18:15 +00:00
parent ba8b26f960
commit 9248fc7bc0
2 changed files with 4 additions and 6 deletions

View File

@ -90,7 +90,10 @@ SYSCTL_INT(_hw, OID_AUTO, clockrate, CTLFLAG_RD,
static char cpu_brand[48];
static struct cpu_nameclass amd64_cpus[] = {
static struct {
char *cpu_name;
int cpu_class;
} amd64_cpus[] = {
{ "Clawhammer", CPUCLASS_K8 }, /* CPU_CLAWHAMMER */
{ "Sledgehammer", CPUCLASS_K8 }, /* CPU_SLEDGEHAMMER */
};

View File

@ -44,11 +44,6 @@
#define CPU_SLEDGEHAMMER 2 /* AMD Sledgehammer */
#ifndef LOCORE
struct cpu_nameclass {
char *cpu_name;
int cpu_class;
};
extern int cpu;
extern int cpu_class;
#endif