diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-08-19 12:53:04 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-08-19 12:53:04 +0100 |
commit | b07b22f961709fc4639b550450caa4681881977d (patch) | |
tree | 2ab1a8a5e98be4324a840e832a34705c4ef4b9e4 /xen/include/xen/iommu.h | |
parent | d6e849eda168c604261f02c1cf4010cdd7afe2fe (diff) | |
download | xen-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.h | 2 |
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; }; |