]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Move transparent_hugepage_adjust() above __direct_map()
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 6 Dec 2019 23:57:25 +0000 (15:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jan 2020 17:16:07 +0000 (18:16 +0100)
commit9ad74e63814dc66bd5a3ed77497c308ce61b5461
treea9387699429825da170501763336a1a0a50d5ef0
parent0dff2b3795c6a0eea9b84a39e82fb501954b43e2
KVM: x86/mmu: Move transparent_hugepage_adjust() above __direct_map()

Move thp_adjust() above __direct_map() in preparation of calling
thp_adjust() from  __direct_map() and FNAME(fetch).

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c