]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Unexport MMU load/unload functions
authorSean Christopherson <seanjc@google.com>
Fri, 5 Mar 2021 01:10:59 +0000 (17:10 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:42:23 +0000 (04:42 -0400)
commita7a6dcfebd84073cd8f334819f534960e70c4676
treea8ffa1cc3c7dd5c131e53fec567340c4bdea3de7
parentf3cda8e2a72dadc78f96bb98c661936b96a49407
KVM: x86/mmu: Unexport MMU load/unload functions

Unexport the MMU load and unload helpers now that they are no longer
used (incorrectly) in vendor code.

Opportunistically move the kvm_mmu_sync_roots() declaration into mmu.h,
it should not be exposed to vendor code.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210305011101.3597423-16-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.h
arch/x86/kvm/mmu/mmu.c