summaryrefslogtreecommitdiffstats
path: root/sys/x86/xen/xen_intr.c
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2015-05-01 18:07:18 +0000
committergjb <gjb@FreeBSD.org>2015-05-01 18:07:18 +0000
commit55e5b36d38ff95ded004ed97fe9ed303abb36184 (patch)
treeca54c9ba1af0ca2eb29e395b069252993a4e1ada /sys/x86/xen/xen_intr.c
parentdfb432f9b57e5f768243247ed35fbe38bb9c40f1 (diff)
parentfecee76e5a26a3b0a0cac30b34c660389e57579e (diff)
downloadFreeBSD-src-55e5b36d38ff95ded004ed97fe9ed303abb36184.zip
FreeBSD-src-55e5b36d38ff95ded004ed97fe9ed303abb36184.tar.gz
MFH: r281855-r282312
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/x86/xen/xen_intr.c')
-rw-r--r--sys/x86/xen/xen_intr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/x86/xen/xen_intr.c b/sys/x86/xen/xen_intr.c
index 64979b1..3bc4b43 100644
--- a/sys/x86/xen/xen_intr.c
+++ b/sys/x86/xen/xen_intr.c
@@ -1,7 +1,7 @@
/******************************************************************************
* xen_intr.c
*
- * Xen event and interrupt services for x86 PV and HVM guests.
+ * Xen event and interrupt services for x86 HVM guests.
*
* Copyright (c) 2002-2005, K A Fraser
* Copyright (c) 2005, Intel Corporation <xiaofeng.ling@intel.com>
@@ -864,10 +864,8 @@ xen_intr_assign_cpu(struct intsrc *base_isrc, u_int apic_id)
u_int to_cpu, vcpu_id;
int error, masked;
-#ifdef XENHVM
if (xen_vector_callback_enabled == 0)
return (EOPNOTSUPP);
-#endif
to_cpu = apic_cpuid(apic_id);
vcpu_id = pcpu_find(to_cpu)->pc_vcpu_id;
OpenPOWER on IntegriCloud