Commit a7b807ce authored by Ian Campbell's avatar Ian Campbell Committed by Konrad Rzeszutek Wilk

xen: events: correct locking in xen_irq_from_pirq

One of those spin_lock() calls should be an unlock...
Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 7bee9768
...@@ -752,7 +752,7 @@ int xen_irq_from_pirq(unsigned pirq) ...@@ -752,7 +752,7 @@ int xen_irq_from_pirq(unsigned pirq)
} }
irq = -1; irq = -1;
out: out:
spin_lock(&irq_mapping_update_lock); spin_unlock(&irq_mapping_update_lock);
return irq; return irq;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment