debuggers.hg

changeset 21179:7eeb131880b2

Fix bug in 21089:4f796e29987c

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Apr 12 17:36:54 2010 +0100 (2010-04-12)
parents b65a41dc6c6a
children 5993c6b9f4e5
files xen/arch/x86/io_apic.c
line diff
     1.1 --- a/xen/arch/x86/io_apic.c	Mon Apr 12 17:36:10 2010 +0100
     1.2 +++ b/xen/arch/x86/io_apic.c	Mon Apr 12 17:36:54 2010 +0100
     1.3 @@ -2163,12 +2163,12 @@ int io_apic_set_pci_routing (int ioapic,
     1.4      io_apic_write(ioapic, 0x11+2*pin, *(((int *)&entry)+1));
     1.5      io_apic_write(ioapic, 0x10+2*pin, *(((int *)&entry)+0));
     1.6      set_native_irq_info(irq, TARGET_CPUS);
     1.7 -    spin_unlock_irqrestore(&ioapic_lock, flags);
     1.8 +    spin_unlock(&ioapic_lock);
     1.9  
    1.10      spin_lock(&desc->lock);
    1.11      if (!(desc->status & (IRQ_DISABLED | IRQ_GUEST)))
    1.12          desc->handler->startup(irq);
    1.13 -    spin_unlock(&desc->lock);
    1.14 +    spin_unlock_irqrestore(&desc->lock, flags);
    1.15  
    1.16      return 0;
    1.17  }