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

[Xen-changelog] [xen-unstable] arm: missing unlock in GIC error path



# HG changeset patch
# User Tim Deegan <tim@xxxxxxx>
# Date 1333360445 -3600
# Node ID 0346309b3c3f89f6aaac096f23b07a082cd736b4
# Parent  64b69baaaf2fd274fe9daa46108fa6facd7ead5d
arm: missing unlock in GIC error path

Signed-off-by: Tim Deegan <tim@xxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r 64b69baaaf2f -r 0346309b3c3f xen/arch/arm/gic.c
--- a/xen/arch/arm/gic.c        Mon Apr 02 10:54:04 2012 +0100
+++ b/xen/arch/arm/gic.c        Mon Apr 02 10:54:05 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
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®.