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

[Xen-devel] [PATCH] arm: missing unlock in GIC error path



# HG changeset patch
# User Tim Deegan <tim@xxxxxxx>
# Date 1333039050 -3600
# Node ID b7af9683e72f2df35880125296b206ffaa2c854c
# Parent  58b5b500ba40d1563c804c9e00246c904d56991b
arm: missing unlock in GIC error path

Signed-off-by: Tim Deegan <tim@xxxxxxx>

diff -r 58b5b500ba40 -r b7af9683e72f xen/arch/arm/gic.c
--- a/xen/arch/arm/gic.c        Thu Mar 29 16:59:33 2012 +0100
+++ b/xen/arch/arm/gic.c        Thu Mar 29 17:37:30 2012 +0100
@@ -149,6 +149,7 @@ static int gic_route_irq(unsigned int ir
 
     if ( desc->action != NULL )
     {
+        spin_unlock(&gic.lock);
         spin_unlock(&desc->lock);
         return -EBUSY;
     }

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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