diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2009-12-23 11:35:26 -0500 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 10:35:45 -0500 |
commit | 79fac95ecfa3969aab8119d37ccd7226165f933a (patch) | |
tree | 4103169c7fd2b7fb1ba95dae2db6b3f365476b9d /include | |
parent | f656ce0185cabbbb0cf96877306879661297c7ad (diff) |
KVM: convert slots_lock to a mutex
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 0bb9aa295e6c..bb0314ea9267 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -161,7 +161,7 @@ struct kvm_memslots { | |||
161 | struct kvm { | 161 | struct kvm { |
162 | spinlock_t mmu_lock; | 162 | spinlock_t mmu_lock; |
163 | spinlock_t requests_lock; | 163 | spinlock_t requests_lock; |
164 | struct rw_semaphore slots_lock; | 164 | struct mutex slots_lock; |
165 | struct mm_struct *mm; /* userspace tied to this vm */ | 165 | struct mm_struct *mm; /* userspace tied to this vm */ |
166 | struct kvm_memslots *memslots; | 166 | struct kvm_memslots *memslots; |
167 | struct srcu_struct srcu; | 167 | struct srcu_struct srcu; |