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

[Xen-changelog] Add missing spin_unlock_irq() at xen/arch/x86/irq.c



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 65a2cf84b33552eb749bba1990aa35c4fa887a16
# Parent  5afb142646294a6c446e275c5bef60ff7d477881
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 hangs
completely during boot.  With this, it works.

Signed-off-by: Juan Quintela <quintela@xxxxxxxxxx> 
Signed-off-by: Chris Wright <chrisw@xxxxxxxxxxxx>
---
 xen/arch/x86/irq.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 5afb14264629 -r 65a2cf84b335 xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c        Fri May 05 00:27:10 2006 +0100
+++ b/xen/arch/x86/irq.c        Fri May 05 13:41:35 2006 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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