提交 a7b807ce 编写于 作者: I Ian Campbell 提交者: 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: NIan Campbell <ian.campbell@citrix.com>
Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
上级 7bee9768
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册