aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-10-20 09:18:02 -0400
committerAvi Kivity <avi@redhat.com>2011-01-12 04:23:25 -0500
commit7e1fbeac6f4b52e12ccaa20b151bd76783069dee (patch)
treea61b1ec7e63d546cd153a08ad922230ca61fa309 /arch/x86/kvm/mmu.c
parent8030089f9e93ee5cefe74d258e35edc7ce9e4b73 (diff)
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 <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r--arch/x86/kvm/mmu.c2
1 files changed, 1 insertions, 1 deletions
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,
2589 error_code & PFERR_WRITE_MASK, gfn); 2589 error_code & PFERR_WRITE_MASK, gfn);
2590} 2590}
2591 2591
2592int kvm_arch_setup_async_pf(struct kvm_vcpu *vcpu, gva_t gva, gfn_t gfn) 2592static int kvm_arch_setup_async_pf(struct kvm_vcpu *vcpu, gva_t gva, gfn_t gfn)
2593{ 2593{
2594 struct kvm_arch_async_pf arch; 2594 struct kvm_arch_async_pf arch;
2595 arch.token = (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id; 2595 arch.token = (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id;