]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - arch/x86/kvm/mmu/mmu.c
KVM: x86/mmu: Move max hugepage level to a separate #define
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 28 Apr 2020 00:54:21 +0000 (17:54 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 May 2020 16:26:11 +0000 (12:26 -0400)
commite662ec3e0705cfee5b36aecd62adbc36df85eab3
treefebf56638878837fd909dbffbf595be1933ea66a
parentb2f432f872d9b4eb07d35f7bd5aa68c48a756f1a
KVM: x86/mmu: Move max hugepage level to a separate #define

Rename PT_MAX_HUGEPAGE_LEVEL to KVM_MAX_HUGEPAGE_LEVEL and make it a
separate define in anticipation of dropping KVM's PT_*_LEVEL enums in
favor of the kernel's PG_LEVEL_* enums.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200428005422.4235-3-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu/mmu.c