aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/hvm
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/hvm
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/hvm')
-rw-r--r--xen/include/xen/hvm/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/xen/hvm/irq.h b/xen/include/xen/hvm/irq.h
index b50cff6da9..739507af95 100644
--- a/xen/include/xen/hvm/irq.h
+++ b/xen/include/xen/hvm/irq.h
@@ -88,7 +88,7 @@ struct hvm_irq_dpci {
DECLARE_BITMAP(isairq_map, NR_ISAIRQS);
/* Record of mapped Links */
uint8_t link_cnt[NR_LINK];
- struct timer hvm_timer[NR_VECTORS];
+ struct timer *hvm_timer;
struct tasklet dirq_tasklet;
};