aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 0667183ecbed..1072c8322d4f 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -393,7 +393,7 @@ struct kvm_memory_slot {
393}; 393};
394 394
395struct kvm { 395struct kvm {
396 spinlock_t lock; /* protects everything except vcpus */ 396 struct mutex lock; /* protects everything except vcpus */
397 int naliases; 397 int naliases;
398 struct kvm_mem_alias aliases[KVM_ALIAS_SLOTS]; 398 struct kvm_mem_alias aliases[KVM_ALIAS_SLOTS];
399 int nmemslots; 399 int nmemslots;