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>
This commit is contained in:
parent
8030089f9e
commit
7e1fbeac6f
1 changed files with 1 additions and 1 deletions
|
@ -2589,7 +2589,7 @@ static int nonpaging_page_fault(struct kvm_vcpu *vcpu, gva_t gva,
|
||||||
error_code & PFERR_WRITE_MASK, gfn);
|
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;
|
struct kvm_arch_async_pf arch;
|
||||||
arch.token = (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id;
|
arch.token = (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id;
|
||||||
|
|
Reference in a new issue