aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/iommu.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-08-19 12:53:04 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-08-19 12:53:04 +0100
commitb07b22f961709fc4639b550450caa4681881977d (patch)
tree2ab1a8a5e98be4324a840e832a34705c4ef4b9e4 /xen/include/xen/iommu.h
parentd6e849eda168c604261f02c1cf4010cdd7afe2fe (diff)
downloadxen-b07b22f961709fc4639b550450caa4681881977d.tar.gz
xen-b07b22f961709fc4639b550450caa4681881977d.tar.bz2
xen-b07b22f961709fc4639b550450caa4681881977d.zip
x86: Change Xen hypervisor's interrupt infrastructure
from vector-based to IRQ-based. In per-cpu vector environment, vector space changes to multi-demension resource, so vector number is not appropriate to index irq_desc which stands for unique interrupt source. As Linux does, irq number is chosen to index irq_desc. This patch changes vector-based interrupt infrastructure to irq-based one. Mostly, it follows upstream linux's changes, and some parts are adapted for Xen. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Diffstat (limited to 'xen/include/xen/iommu.h')
-rw-r--r--xen/include/xen/iommu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h
index 3468ebcaaf..402914d603 100644
--- a/xen/include/xen/iommu.h
+++ b/xen/include/xen/iommu.h
@@ -53,7 +53,7 @@ struct iommu {
spinlock_t lock; /* protect context, domain ids */
spinlock_t register_lock; /* protect iommu register handling */
u64 root_maddr; /* root entry machine address */
- int vector;
+ int irq;
struct intel_iommu *intel;
};