KVM: x86/mmu: Bury 32-bit PSE paging helpers in paging_tmpl.h
authorSean Christopherson <seanjc@google.com>
Tue, 14 Jun 2022 23:33:23 +0000 (23:33 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 20 Jun 2022 10:21:26 +0000 (06:21 -0400)
commitb3fcdb04a98035f55f7ba9e3c87d3c4eb2f95b4b
treee86e447596c4b111f542c6b07e552f09b901e475
parent1ae20e0b975caf8ff51511a89cce5e28ec3e4d70
KVM: x86/mmu: Bury 32-bit PSE paging helpers in paging_tmpl.h

Move a handful of one-off macros and helpers for 32-bit PSE paging into
paging_tmpl.h and hide them behind "PTTYPE == 32".  Under no circumstance
should anything but 32-bit shadow paging care about PSE paging.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220614233328.3896033-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/paging_tmpl.h