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/asm-x86/amd-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/asm-x86/amd-iommu.h')
-rw-r--r-- | xen/include/asm-x86/amd-iommu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h index cdc99dd6e8..c2811f9ab7 100644 --- a/xen/include/asm-x86/amd-iommu.h +++ b/xen/include/asm-x86/amd-iommu.h @@ -79,7 +79,7 @@ struct amd_iommu { int maskbit; int enabled; - int vector; + int irq; }; struct ivrs_mappings { |