mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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 (cherry picked from commit d63ea03674007451682334fa3897918c5c3711a4)
This commit is contained in:
parent
5df995ef0f
commit
675c24cd01
2 changed files with 2 additions and 1 deletions
|
|
@ -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