mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
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:
parent
7bee976822
commit
a7b807ce8c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue