KVM: x86: Mark kvm_arch_setup_async_pf static
[firefly-linux-kernel-4.4.55.git] / arch / x86 / kvm / mmu.c
index 64f90db369fba94d9c44bbdb3023bd9b8c20e0bb..0aac41fc8ff4144dc2d6e67b88d77595173c3c30 100644 (file)
@@ -2589,7 +2589,7 @@ static int nonpaging_page_fault(struct kvm_vcpu *vcpu, gva_t gva,
                             error_code & PFERR_WRITE_MASK, gfn);
 }
 
-int kvm_arch_setup_async_pf(struct kvm_vcpu *vcpu, gva_t gva, gfn_t gfn)
+static int kvm_arch_setup_async_pf(struct kvm_vcpu *vcpu, gva_t gva, gfn_t gfn)
 {
        struct kvm_arch_async_pf arch;
        arch.token = (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id;