Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[linux-2.6-microblaze.git] / arch / arm64 / kvm / mmu.c
index 4e41cee..d87c8fc 100644 (file)
@@ -1559,7 +1559,7 @@ static int user_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa,
 
        if (device)
                prot |= KVM_PGTABLE_PROT_DEVICE;
-       else if (cpus_have_const_cap(ARM64_HAS_CACHE_DIC))
+       else if (cpus_have_final_cap(ARM64_HAS_CACHE_DIC))
                prot |= KVM_PGTABLE_PROT_X;
 
        /*