summaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2016-12-23 00:04:59 +0100
committerChristoffer Dall <cdall@linaro.org>2017-04-09 16:45:31 +0200
commit00dafa0fcfe9fb1d863f08dc45d6f05ac9505d46 (patch)
treee39a89e27af52f1bd04ca869ef8cd1b9c28ed262 /include/kvm
parentKVM: arm/arm64: vgic: Avoid flushing vgic state when there's no pending IRQ (diff)
downloadlinux-00dafa0fcfe9fb1d863f08dc45d6f05ac9505d46.tar.xz
linux-00dafa0fcfe9fb1d863f08dc45d6f05ac9505d46.zip
KVM: arm/arm64: vgic: Get rid of live_lrs
There is no need to calculate and maintain live_lrs when we always populate the lowest numbered LRs first on every entry and clear all LRs on every exit. Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'include/kvm')
-rw-r--r--include/kvm/arm_vgic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index f7a2e31eb4c1..ea940dbb5dba 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -264,8 +264,6 @@ struct vgic_cpu {
*/
struct list_head ap_list_head;
- u64 live_lrs;
-
/*
* Members below are used with GICv3 emulation only and represent
* parts of the redistributor.