projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: convert slots_lock to a mutex
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
kvm_host.h
diff --git
a/include/linux/kvm_host.h
b/include/linux/kvm_host.h
index 0bb9aa295e6c5fa93eabf25ab70b2cde96bdadcd..bb0314ea9267fc5f1ef24e190e63c4318a2a3c66 100644
(file)
--- a/
include/linux/kvm_host.h
+++ b/
include/linux/kvm_host.h
@@
-161,7
+161,7
@@
struct kvm_memslots {
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;