diff options
author | Andre Przywara <andre.przywara@arm.com> | 2016-03-07 17:32:29 +0700 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-05-20 15:39:43 +0200 |
commit | 2defaff48aaf16072a6eac4cf8234917197dfa72 (patch) | |
tree | 45979a2277254da13f71c0cf509140327cb46817 /arch/arm/kvm/arm.c | |
parent | d5a5a0eff368f039ed2222b47c15f09cb60e1245 (diff) |
KVM: arm/arm64: pmu: abstract access to number of SPIs
Currently the PMU uses a member of the struct vgic_dist directly,
which not only breaks abstraction, but will fail with the new VGIC.
Abstract this access in the VGIC header file and refactor the validity
check in the PMU code.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/kvm/arm.c')
0 files changed, 0 insertions, 0 deletions