KVM: x86/mmu: Merge all handle_changed_pte*() functions
authorVipin Sharma <vipinsh@google.com>
Tue, 21 Mar 2023 22:00:21 +0000 (15:00 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 4 Apr 2023 19:37:31 +0000 (12:37 -0700)
commit40fa907e5a69edbae503a4937f8f487ed1ca92ea
tree4bdd7ad01d16c5b52850acee648b82c9b37af859
parent1f9973456e802199e863030ed09493419a02f6c7
KVM: x86/mmu: Merge all handle_changed_pte*() functions

Merge __handle_changed_pte() and handle_changed_spte_acc_track() into a
single function, handle_changed_pte(), as the two are always used
together.  Remove the existing handle_changed_pte(), as it's just a
wrapper that calls __handle_changed_pte() and
handle_changed_spte_acc_track().

Signed-off-by: Vipin Sharma <vipinsh@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Reviewed-by: David Matlack <dmatlack@google.com>
[sean: massage changelog]
Link: https://lore.kernel.org/r/20230321220021.2119033-14-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/tdp_mmu.c