commit | a7b807ce8c86925eef92fe6aa79cea4ac7f097c4 | [log] [tgz] |
---|---|---|
author | Ian Campbell <Ian.Campbell@citrix.com> | Mon Mar 14 09:50:39 2011 +0000 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Mon Mar 14 10:53:02 2011 -0400 |
tree | 73123e401a3382480eb25fce79c97dba1b2d7cbb | |
parent | 7bee976822a78bbb278790c2cd64293568592cdb [diff] |
xen: events: correct locking in xen_irq_from_pirq One of those spin_lock() calls should be an unlock... Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 3566c00..dc81779 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c
@@ -752,7 +752,7 @@ } irq = -1; out: - spin_lock(&irq_mapping_update_lock); + spin_unlock(&irq_mapping_update_lock); return irq; }