aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2022-11-13 16:38:23 +0000
committerMarc Zyngier <[email protected]>2022-11-17 15:39:51 +0000
commit0cb9c3c87a9d3287eaf353936e6846d885102439 (patch)
tree99707a27078cf635685bafad3b11d746beb21d15 /lib/mpi/mpi-sub-ui.c
parent0f1e172b54f7574ca6aa46b851b332896add955f (diff)
KVM: arm64: PMU: Add counter_index_to_*reg() helpers
In order to reduce the boilerplate code, add two helpers returning the counter register index (resp. the event register) in the vcpu register file from the counter index. Reviewed-by: Oliver Upton <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions