diff options
author | Marc Zyngier <[email protected]> | 2022-11-13 16:38:32 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-11-19 12:56:39 +0000 |
commit | d56bdce586e7fabd2b3339f476e0e4c059b24e19 (patch) | |
tree | d0fde421857dae96db60eb5c01c4fbd260327d01 /lib/mpi/mpi-sub-ui.c | |
parent | 9bad925dd741408825590eccc495d073cc246de0 (diff) |
KVM: arm64: PMU: Make kvm_pmc the main data structure
The PMU code has historically been torn between referencing a counter
as a pair vcpu+index or as the PMC pointer.
Given that it is pretty easy to go from one representation to
the other, standardise on the latter which, IMHO, makes the
code slightly more readable. YMMV.
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