KVM: x86: Stub out is_tdp_mmu_root on 32-bit hosts
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 18 Jun 2021 10:42:10 +0000 (06:42 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 18 Jun 2021 10:45:46 +0000 (06:45 -0400)
commitc62efff28bb5eb60d60415a0dd0c864c64be0671
treeac3b353a705b6394c9651672618fc9d28d695663
parent8bbed95d2cb6e5de8a342d761a89b0a04faed7be
KVM: x86: Stub out is_tdp_mmu_root on 32-bit hosts

If is_tdp_mmu_root is not inlined, the elimination of TDP MMU calls as dead
code might not work out.  To avoid this, explicitly declare the stubbed
is_tdp_mmu_root on 32-bit hosts.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.h