summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/lapic.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2021-01-26 14:48:10 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-02-09 08:17:13 -0500
commit72167a9d7da2c295caf1d4a2d58128406786505d (patch)
treecbfe4dd04e6220ac52d6c70e2a5a902d8206124f /arch/x86/kvm/lapic.h
parent05f04ae4ffcc77cfcda86adc4e2c13aa72143c03 (diff)
downloadlwn-72167a9d7da2c295caf1d4a2d58128406786505d.tar.gz
lwn-72167a9d7da2c295caf1d4a2d58128406786505d.zip
KVM: x86: hyper-v: Stop shadowing global 'current_vcpu' variable
'current_vcpu' variable in KVM is a per-cpu pointer to the currently scheduled vcpu. kvm_hv_flush_tlb()/kvm_hv_send_ipi() functions used to have local 'vcpu' variable to iterate over vCPUs but it's gone now and there's no need to use anything but the standard 'vcpu' as an argument. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Message-Id: <20210126134816.1880136-10-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.h')
0 files changed, 0 insertions, 0 deletions