]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ca0bd8c77ad386cfffa7249f6ffdf39a5274946
treee86e447596c4b111f542c6b07e552f09b901e475
parentfd821fa851f40fe46e91da33ea23a4b13bf577b8
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