OSDN Git Service

KVM: x86/mmu: Collapse 32-bit PAE and 64-bit statements for helpers
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:57:30 +0000 (10:57 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:46 +0000 (18:00 -0400)
commitfe660f7244d7e237ab7726813dc9aec8e94900d6
tree36b182843ebf4e1f5a165c1398ae0c5d1b0ac938
parentf4bd6f73763a91a0c6fc39974d57034e19f25494
KVM: x86/mmu: Collapse 32-bit PAE and 64-bit statements for helpers

Skip paging32E_init_context() and paging64_init_context_common() and go
directly to paging64_init_context() (was the common version) now that
the relevant flows don't need to distinguish between 64-bit PAE and
32-bit PAE for other reasons.

No functional change intended.

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