[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATH]: Add missing spin_unlock_irq() to x86



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.

Signed-off-by: Juan Quintela <quintela@xxxxxxxxxx> 
Signed-off-by: Chris Wright <chrisw@xxxxxxxxxxxx>

diff -r 1a84eec74331 xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c        Thu May 04 11:24:19 2006 +0100
+++ b/xen/arch/x86/irq.c        Thu May 04 19:19:46 2006 +0200
@@ -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;
     }
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.