commit | cf9eeac46350b8b43730b7dc5e999757bed089a4 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Wed Mar 14 11:02:11 2012 +0100 |
committer | Avi Kivity <avi@redhat.com> | Tue Mar 20 12:41:24 2012 +0200 |
tree | a71645c281a36c080f58bf660a95c176070e4f83 | |
parent | 02626b6af5d2bc62db3bb85fc2891b2725535d44 [diff] |
KVM: Convert intx_mask_lock to spin lock As kvm_notify_acked_irq calls kvm_assigned_dev_ack_irq under rcu_read_lock, we cannot use a mutex in the latter function. Switch to a spin lock to address this. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>