KVM: x86: Mark kvm_arch_setup_async_pf static
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 20 Oct 2010 13:18:02 +0000 (15:18 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:23:25 +0000 (11:23 +0200)
It has no user outside mmu.c and also no prototype.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
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;