]> 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)
commit4dd4be228130caee0a0ff3245357d1f91d8533f7
tree3a8600583b08b7c123b82353f30631fc48aa9076
parent24217a5a0ebbdc0985cd4dc5417e7a1a3c813eeb
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