KVM: Rename KVM_MEMORY_SLOTS -> KVM_USER_MEM_SLOTS
[~shefty/rdma-dev.git] / arch / ia64 / kvm / kvm-ia64.c
index bd1c515..9bacfe2 100644 (file)
@@ -1834,7 +1834,7 @@ int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm,
        mutex_lock(&kvm->slots_lock);
 
        r = -EINVAL;
-       if (log->slot >= KVM_MEMORY_SLOTS)
+       if (log->slot >= KVM_USER_MEM_SLOTS)
                goto out;
 
        memslot = id_to_memslot(kvm->memslots, log->slot);