commit | 79fac95ecfa3969aab8119d37ccd7226165f933a | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Wed Dec 23 14:35:26 2009 -0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:35:45 2010 -0300 |
tree | 4103169c7fd2b7fb1ba95dae2db6b3f365476b9d | |
parent | f656ce0185cabbbb0cf96877306879661297c7ad [diff] [blame] |
KVM: convert slots_lock to a mutex Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 0bb9aa2..bb0314e 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h
@@ -161,7 +161,7 @@ struct kvm { spinlock_t mmu_lock; spinlock_t requests_lock; - struct rw_semaphore slots_lock; + struct mutex slots_lock; struct mm_struct *mm; /* userspace tied to this vm */ struct kvm_memslots *memslots; struct srcu_struct srcu;