]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: remove unnecessary argument to mmu_set_spte
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Aug 2021 11:42:10 +0000 (07:42 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 07:44:55 +0000 (03:44 -0400)
commit0b1c15090179cc77397ab43ffacfe12f092aebd9
tree3a8600583b08b7c123b82353f30631fc48aa9076
parente8cf1ae0936c522b0bfd1ff5aae5aa3a55b39082
KVM: MMU: remove unnecessary argument to mmu_set_spte

The level of the new SPTE can be found in the kvm_mmu_page struct; there
is no need to pass it down.

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