diff options
author | Like Xu <likexu@tencent.com> | 2023-03-10 14:33:49 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-04-07 19:07:41 +0300 |
commit | 4fa5843d81fdce9ba7e03f8a666e2f8e592aec2b (patch) | |
tree | a55d6de03ccf2bd0eae4148e509a95a4d51fd147 /arch/x86/kvm/pmu.h | |
parent | 649bccd7fac98225525c79cf4b1cecc4bafdfc54 (diff) | |
download | linux-4fa5843d81fdce9ba7e03f8a666e2f8e592aec2b.tar.xz |
KVM: x86/pmu: Fix a typo in kvm_pmu_request_counter_reprogam()
Fix a "reprogam" => "reprogram" typo in kvm_pmu_request_counter_reprogam().
Fixes: 68fb4757e867 ("KVM: x86/pmu: Defer reprogram_counter() to kvm_pmu_handle_event()")
Signed-off-by: Like Xu <likexu@tencent.com>
Link: https://lore.kernel.org/r/20230310113349.31799-1-likexu@tencent.com
[sean: trim the changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/kvm/pmu.h')
-rw-r--r-- | arch/x86/kvm/pmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/pmu.h b/arch/x86/kvm/pmu.h index be62c16f2265..5c7bbf03b599 100644 --- a/arch/x86/kvm/pmu.h +++ b/arch/x86/kvm/pmu.h @@ -195,7 +195,7 @@ static inline void kvm_init_pmu_capability(const struct kvm_pmu_ops *pmu_ops) KVM_PMC_MAX_FIXED); } -static inline void kvm_pmu_request_counter_reprogam(struct kvm_pmc *pmc) +static inline void kvm_pmu_request_counter_reprogram(struct kvm_pmc *pmc) { set_bit(pmc->idx, pmc_to_pmu(pmc)->reprogram_pmi); kvm_make_request(KVM_REQ_PMU, pmc->vcpu); |