ia64/xen-unstable

changeset 17979:10d5ec48f84c

xen: Fix debug build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jul 04 17:58:40 2008 +0100 (2008-07-04)
parents a3e4840b1584
children d37afe995ad3
files xen/arch/x86/msi.c
line diff
     1.1 --- a/xen/arch/x86/msi.c	Fri Jul 04 17:55:33 2008 +0100
     1.2 +++ b/xen/arch/x86/msi.c	Fri Jul 04 17:58:40 2008 +0100
     1.3 @@ -234,7 +234,7 @@ void set_msi_irq_affinity(unsigned int i
     1.4      if ( !desc )
     1.5  	return;
     1.6  
     1.7 -    ASSERT(spin_is_locked(&irq_desc[vector].lock));
     1.8 +    ASSERT(spin_is_locked(&irq_desc[irq].lock));
     1.9      spin_lock(&desc->dev->lock);
    1.10      read_msi_msg(desc, &msg);
    1.11  
    1.12 @@ -309,7 +309,7 @@ static void msi_set_mask_bit(unsigned in
    1.13  {
    1.14      struct msi_desc *entry = irq_desc[irq].msi_desc;
    1.15  
    1.16 -    ASSERT(spin_is_locked(&irq_desc[vector].lock));
    1.17 +    ASSERT(spin_is_locked(&irq_desc[irq].lock));
    1.18      BUG_ON(!entry || !entry->dev);
    1.19      switch (entry->msi_attrib.type) {
    1.20      case PCI_CAP_ID_MSI: