summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason King <jasonbking@users.noreply.github.com>2020-09-14 13:05:23 -0500
committerGitHub <noreply@github.com>2020-09-14 13:05:23 -0500
commit91d438ebb667692f17584aae5640c22818cdab70 (patch)
tree6f47d455a8c5b288733e33e0402cab0be4a8db5c
parent2b0257a0a235c7c07e9dbb9443cae6ba3fd37513 (diff)
downloadillumos-joyent-91d438ebb667692f17584aae5640c22818cdab70.tar.gz
Fix merge (#329)
-rw-r--r--usr/src/uts/i86pc/io/vmm/intel/vmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/i86pc/io/vmm/intel/vmx.c b/usr/src/uts/i86pc/io/vmm/intel/vmx.c
index 39f211b9e6..123f487733 100644
--- a/usr/src/uts/i86pc/io/vmm/intel/vmx.c
+++ b/usr/src/uts/i86pc/io/vmm/intel/vmx.c
@@ -227,7 +227,9 @@ static int pirvec = -1;
SYSCTL_INT(_hw_vmm_vmx, OID_AUTO, posted_interrupt_vector, CTLFLAG_RD,
&pirvec, 0, "APICv posted interrupt vector");
+#ifdef __FreeBSD__
static struct unrhdr *vpid_unr;
+#endif /* __FreeBSD__*/
static u_int vpid_alloc_failed;
SYSCTL_UINT(_hw_vmm_vmx, OID_AUTO, vpid_alloc_failed, CTLFLAG_RD,
&vpid_alloc_failed, 0, NULL);