aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/irq.c
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-11-05 10:16:30 +0000
committerKeir Fraser <keir@xensource.com>2007-11-05 10:16:30 +0000
commit0332609b7f86c80320fcc991df04243be4f41e1f (patch)
tree943ba0d2dc999e1204c99815b6f00f8aa1c087cf /xen/arch/x86/hvm/irq.c
parent8e801055bf79e1b4dfda51518e70eb629bd9e159 (diff)
downloadxen-0332609b7f86c80320fcc991df04243be4f41e1f.tar.gz
xen-0332609b7f86c80320fcc991df04243be4f41e1f.tar.bz2
xen-0332609b7f86c80320fcc991df04243be4f41e1f.zip
x86, hvm: Minor fix of hvm_set_pci_link_route().
Signed-off-by: Weidong Han <weidong.han@intel.com>
Diffstat (limited to 'xen/arch/x86/hvm/irq.c')
-rw-r--r--xen/arch/x86/hvm/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/irq.c b/xen/arch/x86/hvm/irq.c
index b789fbfc34..b4f85cb562 100644
--- a/xen/arch/x86/hvm/irq.c
+++ b/xen/arch/x86/hvm/irq.c
@@ -207,7 +207,7 @@ void hvm_set_pci_link_route(struct domain *d, u8 link, u8 isa_irq)
goto out;
if ( old_isa_irq && (--hvm_irq->gsi_assert_count[old_isa_irq] == 0) )
- vpic_irq_negative_edge(d, isa_irq);
+ vpic_irq_negative_edge(d, old_isa_irq);
if ( isa_irq && (hvm_irq->gsi_assert_count[isa_irq]++ == 0) )
{