KVM: MMU: Adjust pte accessors to explicitly indicate guest or shadow pte
[firefly-linux-kernel-4.4.55.git] / arch / x86 / kvm / mmu.h
index 3494a2fb136eec376707176bf38e006cb9c03053..016bf7183e9fd36e813dd202568453869fa4e9af 100644 (file)
@@ -75,7 +75,7 @@ static inline int is_paging(struct kvm_vcpu *vcpu)
        return vcpu->arch.cr0 & X86_CR0_PG;
 }
 
-static inline int is_present_pte(unsigned long pte)
+static inline int is_present_gpte(unsigned long pte)
 {
        return pte & PT_PRESENT_MASK;
 }