[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xen: Fix debug build.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1215190720 -3600 # Node ID 10d5ec48f84cfb3f1480b2758054812f0f678806 # Parent a3e4840b158443f26d972a584cf1367577cc2ab1 xen: Fix debug build. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/msi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r a3e4840b1584 -r 10d5ec48f84c xen/arch/x86/msi.c --- a/xen/arch/x86/msi.c Fri Jul 04 17:55:33 2008 +0100 +++ b/xen/arch/x86/msi.c Fri Jul 04 17:58:40 2008 +0100 @@ -234,7 +234,7 @@ void set_msi_irq_affinity(unsigned int i if ( !desc ) return; - ASSERT(spin_is_locked(&irq_desc[vector].lock)); + ASSERT(spin_is_locked(&irq_desc[irq].lock)); spin_lock(&desc->dev->lock); read_msi_msg(desc, &msg); @@ -309,7 +309,7 @@ static void msi_set_mask_bit(unsigned in { struct msi_desc *entry = irq_desc[irq].msi_desc; - ASSERT(spin_is_locked(&irq_desc[vector].lock)); + ASSERT(spin_is_locked(&irq_desc[irq].lock)); BUG_ON(!entry || !entry->dev); switch (entry->msi_attrib.type) { case PCI_CAP_ID_MSI: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |