Skip to contentSkip to conversation

: Add missing spin_unlock_irq() to x86

PATH Juan Quintela 1 participant 1 message May 4, 2006

lore
Share & tools
lore
#0 lore raw

Add missing spin_unlock_irq() at xen/arch/x86/irq.c

Changeset 9889:42a8e3101c6c reorganized the code on this file, and missed this spin_unlock_irq(). Without this patch, my machine hang completely during boot. With this, it works.

xen/arch/x86/irq.c Thu May 04 19:19:46 2006 +0200 renamed from xen/arch/x86/irq.c Thu May 04 11:24:19 2006 +0100 +1 -0
diff -r 1a84eec74331 xen/arch/x86/irq.c
@@ -318,6 +318,7 @@ static void __pirq_guest_eoi(struct doma
     {
         ASSERT(cpus_empty(action->cpu_eoi_map));
         desc->handler->end(irq_to_vector(irq));
+        spin_unlock_irq(&desc->lock);
         return;
     }