commit | 2defaff48aaf16072a6eac4cf8234917197dfa72 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Mon Mar 07 17:32:29 2016 +0700 |
committer | Christoffer Dall <christoffer.dall@linaro.org> | Fri May 20 15:39:43 2016 +0200 |
tree | 45979a2277254da13f71c0cf509140327cb46817 | |
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>