From a7b807ce8c86925eef92fe6aa79cea4ac7f097c4 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Mon, 14 Mar 2011 09:50:39 +0000 Subject: xen: events: correct locking in xen_irq_from_pirq One of those spin_lock() calls should be an unlock... Signed-off-by: Ian Campbell Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/xen') 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 @@ int xen_irq_from_pirq(unsigned pirq) } irq = -1; out: - spin_lock(&irq_mapping_update_lock); + spin_unlock(&irq_mapping_update_lock); return irq; } -- cgit v1.1