]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: change disallowed_hugepage_adjust() arguments to kvm_page_fault
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 6 Aug 2021 08:35:50 +0000 (04:35 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 07:44:51 +0000 (03:44 -0400)
commitaa3e489e52ee4a3723aaa1c4edd837de10d99582
treedd943b2d6d38c7e33209fb958aed264070cd66bc
parentcbba6845045fde3be8c1db74391366ba117f5ad4
KVM: MMU: change disallowed_hugepage_adjust() arguments to kvm_page_fault

Pass struct kvm_page_fault to disallowed_hugepage_adjust() instead of
extracting the arguments from the struct.  Tweak a bit the conditions
to avoid long lines.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/mmu_internal.h
arch/x86/kvm/mmu/paging_tmpl.h
arch/x86/kvm/mmu/tdp_mmu.c