Correct the scope of several global variables.
They are accessed from multiple compilation units. No functional change intended. MFC after: 1 week Sponsored by: Netflix
This commit is contained in:
parent
b4d3716bcc
commit
d3588766e1
@ -96,7 +96,7 @@ SYSCTL_INT(_hw_vmm_amdvi, OID_AUTO, host_ptp, CTLFLAG_RDTUN,
|
||||
TUNABLE_INT("hw.vmm.amdvi.host_ptp", &amdvi_host_ptp);
|
||||
|
||||
/* Page table level used <= supported by h/w[v1=7]. */
|
||||
static int amdvi_ptp_level = 4;
|
||||
int amdvi_ptp_level = 4;
|
||||
SYSCTL_INT(_hw_vmm_amdvi, OID_AUTO, ptp_level, CTLFLAG_RDTUN,
|
||||
&amdvi_ptp_level, 0, NULL);
|
||||
TUNABLE_INT("hw.vmm.amdvi.ptp_level", &amdvi_ptp_level);
|
||||
|
@ -189,10 +189,10 @@ static u_int vpid_alloc_failed;
|
||||
SYSCTL_UINT(_hw_vmm_vmx, OID_AUTO, vpid_alloc_failed, CTLFLAG_RD,
|
||||
&vpid_alloc_failed, 0, NULL);
|
||||
|
||||
static int guest_l1d_flush;
|
||||
int guest_l1d_flush;
|
||||
SYSCTL_INT(_hw_vmm_vmx, OID_AUTO, l1d_flush, CTLFLAG_RD,
|
||||
&guest_l1d_flush, 0, NULL);
|
||||
static int guest_l1d_flush_sw;
|
||||
int guest_l1d_flush_sw;
|
||||
SYSCTL_INT(_hw_vmm_vmx, OID_AUTO, l1d_flush_sw, CTLFLAG_RD,
|
||||
&guest_l1d_flush_sw, 0, NULL);
|
||||
|
||||
|
@ -232,10 +232,9 @@ MODULE_DEPEND(if_qlnxev, ether, 1, 1, 1);
|
||||
|
||||
MALLOC_DEFINE(M_QLNXBUF, "qlnxbuf", "Buffers for qlnx driver");
|
||||
|
||||
|
||||
static char qlnx_dev_str[128];
|
||||
static char qlnx_ver_str[VER_SIZE];
|
||||
static char qlnx_name_str[NAME_SIZE];
|
||||
char qlnx_dev_str[128];
|
||||
char qlnx_ver_str[VER_SIZE];
|
||||
char qlnx_name_str[NAME_SIZE];
|
||||
|
||||
/*
|
||||
* Some PCI Configuration Space Related Defines
|
||||
|
Loading…
x
Reference in New Issue
Block a user