]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/x86/kvm/mmu.h
KVM: x86: add a flag to disable KVM x2apic broadcast quirk
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / kvm / mmu.h
index 66b33b96a31b47138c9fef94c20e034d07678cb7..ddc56e91f2e491ff26631ccc432b2cf15cec05a0 100644 (file)
@@ -93,11 +93,6 @@ static inline int kvm_mmu_reload(struct kvm_vcpu *vcpu)
        return kvm_mmu_load(vcpu);
 }
 
-static inline int is_present_gpte(unsigned long pte)
-{
-       return pte & PT_PRESENT_MASK;
-}
-
 /*
  * Currently, we have two sorts of write-protection, a) the first one
  * write-protects guest page to sync the guest modification, b) another one is