aboutsummaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2016-04-06 08:48:53 -0400
committerChristoffer Dall <christoffer.dall@linaro.org>2016-05-20 09:39:41 -0400
commit2db4c104fa2a9af12c07433642e2e4fee37fe2fd (patch)
treef88a91300e23db229a76cff3394b41724970bb14 /include/kvm
parent41a54482c010d8806cf56e1501bb3b61fac14cf9 (diff)
KVM: arm/arm64: Get rid of vgic_cpu->nr_lr
The number of list registers is a property of the underlying system, not of emulated VGIC CPU interface. As we are about to move this variable to global state in the new vgic for clarity, move it from the legacy implementation as well to make the merge of the new code easier. Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'include/kvm')
-rw-r--r--include/kvm/arm_vgic.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index 3e17fb4e64b7..67a66371356d 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -304,9 +304,6 @@ struct vgic_cpu {
304 unsigned long *active_shared; 304 unsigned long *active_shared;
305 unsigned long *pend_act_shared; 305 unsigned long *pend_act_shared;
306 306
307 /* Number of list registers on this CPU */
308 int nr_lr;
309
310 /* CPU vif control registers for world switch */ 307 /* CPU vif control registers for world switch */
311 union { 308 union {
312 struct vgic_v2_cpu_if vgic_v2; 309 struct vgic_v2_cpu_if vgic_v2;