summaryrefslogtreecommitdiff
path: root/kvm.c
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2011-08-01 21:25:01 -0700
committerBryan Cantrill <bryan@joyent.com>2011-08-01 21:25:01 -0700
commit2520c67c3d7625d45cb82d109ce3d1e77513f88d (patch)
tree70dc39a519159f7332d260ae4db3c999d8c16fdb /kvm.c
parent93ef161d682fe751969bc7177c39680e37631b17 (diff)
downloadillumos-kvm-2520c67c3d7625d45cb82d109ce3d1e77513f88d.tar.gz
HVM-542 eliminate XXXs around variable clock frequencies
Diffstat (limited to 'kvm.c')
-rw-r--r--kvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvm.c b/kvm.c
index e9c8bee..571567c 100644
--- a/kvm.c
+++ b/kvm.c
@@ -1068,7 +1068,7 @@ kvm_is_visible_gfn(struct kvm *kvm, gfn_t gfn)
gfn = unalias_gfn_instantiation(kvm, gfn);
mutex_enter(&kvm->memslots_lock);
- slots = kvm->memslots;
+ slots = kvm->memslots;
for (i = 0; i < KVM_MEMORY_SLOTS; ++i) {
struct kvm_memory_slot *memslot = &slots->memslots[i];
@@ -1126,7 +1126,7 @@ memslot_id(struct kvm *kvm, gfn_t gfn)
gfn = unalias_gfn(kvm, gfn);
mutex_enter(&kvm->memslots_lock);
- slots = kvm->memslots;
+ slots = kvm->memslots;
for (i = 0; i < slots->nmemslots; ++i) {
memslot = &slots->memslots[i];