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>
This commit is contained in:
Ian Campbell 2011-03-14 09:50:39 +00:00 committed by Konrad Rzeszutek Wilk
parent 7bee976822
commit a7b807ce8c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}