mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
x86: Make cpu_model[] public
No functional change intended. Reviewed by: emaste, imp, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43281
This commit is contained in:
parent
55edc40e0c
commit
d63ea03674
|
@ -58,6 +58,7 @@ extern u_int cpu_mxcsr_mask;
|
|||
extern u_int cpu_procinfo;
|
||||
extern u_int cpu_procinfo2;
|
||||
extern char cpu_vendor[];
|
||||
extern char cpu_model[];
|
||||
extern u_int cpu_vendor_id;
|
||||
extern u_int cpu_mon_mwait_flags;
|
||||
extern u_int cpu_mon_min_size;
|
||||
|
|
|
@ -157,7 +157,7 @@ SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD | CTLFLAG_CAPRD,
|
|||
machine, 0, "Machine class");
|
||||
#endif
|
||||
|
||||
static char cpu_model[128];
|
||||
char cpu_model[128];
|
||||
SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD | CTLFLAG_MPSAFE,
|
||||
cpu_model, 0, "Machine model");
|
||||
|
||||
|
|
Loading…
Reference in a new issue