From: Jan Kiszka Date: Wed, 20 Oct 2010 13:18:02 +0000 (+0200) Subject: KVM: x86: Mark kvm_arch_setup_async_pf static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7e1fbeac6f4b52e12ccaa20b151bd76783069dee;p=openwrt%2Fstaging%2Fblogic.git KVM: x86: Mark kvm_arch_setup_async_pf static It has no user outside mmu.c and also no prototype. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 64f90db369fb..0aac41fc8ff4 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -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;