]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Rename svm_flush_tlb() to svm_flush_tlb_current()
authorSean Christopherson <seanjc@google.com>
Fri, 28 Jan 2022 00:52:02 +0000 (00:52 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:47:21 +0000 (13:47 -0500)
commitb9ea3e1816ea8d120d74761bbac8af7afccd69cd
treefc1a2e72a58b05c85e7591df9822c5a8635f7237
parenta1c960cc8ec60ef08dda97fbc13ddb590c813944
KVM: SVM: Rename svm_flush_tlb() to svm_flush_tlb_current()

Rename svm_flush_tlb() to svm_flush_tlb_current() so that at least one of
the flushing operations in svm_x86_ops can be filled via kvm-x86-ops.h,
and to document the scope of the flush (specifically that it doesn't
flush "all").

Opportunistically make svm_tlb_flush_current(), was svm_flush_tlb(),
static.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220128005208.4008533-17-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h