diff options
author | Sean Christopherson <seanjc@google.com> | 2023-11-10 05:28:52 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-02-01 20:35:48 +0300 |
commit | e5a65d4f723ab9997deab798c539e6bfd71f8440 (patch) | |
tree | c8ad383b1b4c18509af87f9aea4e66133a372067 /include/dt-bindings/sound | |
parent | 004a0aa56edea3effc97bc90a620da1bcde5c63c (diff) | |
download | linux-e5a65d4f723ab9997deab798c539e6bfd71f8440.tar.xz |
KVM: x86/pmu: Add macros to iterate over all PMCs given a bitmap
Add and use kvm_for_each_pmc() to dedup a variety of open coded for-loops
that iterate over valid PMCs given a bitmap (and because seeing checkpatch
whine about bad macro style is always amusing).
No functional change intended.
Link: https://lore.kernel.org/r/20231110022857.1273836-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/dt-bindings/sound')
0 files changed, 0 insertions, 0 deletions