KVM: x86: Refactor kvm_hv_flush_tlb() to reduce indentation
authorSean Christopherson <seanjc@google.com>
Tue, 7 Dec 2021 22:09:21 +0000 (22:09 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:34 +0000 (13:50 -0500)
commit25af9081189b91df003be7e8acbe9b05f9a58c93
treef07f8d332882f1ef7f0d4729232dcce18f4a2aaa
parentbd1ba5732bb954c31e2be07e8ee1397a910835e4
KVM: x86: Refactor kvm_hv_flush_tlb() to reduce indentation

Refactor the "extended" path of kvm_hv_flush_tlb() to reduce the nesting
depth for the non-fast sparse path, and to make the code more similar to
the extended path in kvm_hv_send_ipi().

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20211207220926.718794-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c