]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/pmu: Move pmc_speculative_in_use() to arch/x86/kvm/pmu.h
authorLike Xu <like.xu@linux.intel.com>
Mon, 11 Apr 2022 10:19:42 +0000 (18:19 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jun 2022 08:48:11 +0000 (04:48 -0400)
commitfe10a8fa01e60d579b43fb0a1beb2337dbc54f2f
tree1be881e08d35f74a2ec54ebbb415aefcca7ff5fd
parentcaa3ce3595da769e36b237e96c4a5cfcdfad74cc
KVM: x86/pmu: Move pmc_speculative_in_use() to arch/x86/kvm/pmu.h

It allows this inline function to be reused by more callers in
more files, such as pmu_intel.c.

Signed-off-by: Like Xu <like.xu@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Message-Id: <20220411101946.20262-14-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/pmu.c
arch/x86/kvm/pmu.h