diff options
author | 2024-05-07 21:31:03 +0800 | |
---|---|---|
committer | 2024-07-16 12:14:12 -0400 | |
commit | 5d766508fd15d7e8c90574ef270f0c163b750b45 (patch) | |
tree | 362b5772908a9382edd59286e990c25287aefad3 /scripts/generate_rust_analyzer.py | |
parent | KVM: x86: Introduce kvm_x86_call() to simplify static calls of kvm_x86_ops (diff) | |
download | linux-rng-5d766508fd15d7e8c90574ef270f0c163b750b45.tar.xz linux-rng-5d766508fd15d7e8c90574ef270f0c163b750b45.zip |
KVM: x86/pmu: Add kvm_pmu_call() to simplify static calls of kvm_pmu_ops
Similar to kvm_x86_call(), kvm_pmu_call() is added to streamline the usage
of static calls of kvm_pmu_ops, which improves code readability.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Link: https://lore.kernel.org/r/20240507133103.15052-4-wei.w.wang@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions