diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 3566c00e1e3d5d385a937d4036ad2ae91e9a1791..dc8177950d0523b288f69b98dd682b67f7636a13 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; }