summaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2013-06-04 11:33:43 +0200
committerChristoffer Dall <christoffer.dall@linaro.org>2014-07-11 13:57:32 +0200
commit8d6a0313c125c3c7b208b75695fe6ab00afab4c5 (patch)
tree02d5306de713ec2a3493710626c73f1b8950cb9d /include/kvm
parentKVM: ARM: vgic: abstract access to the ELRSR bitmap (diff)
downloadlinux-8d6a0313c125c3c7b208b75695fe6ab00afab4c5.tar.xz
linux-8d6a0313c125c3c7b208b75695fe6ab00afab4c5.zip
KVM: ARM: vgic: abstract EISR bitmap access
Move the GICH_EISR access to its own function. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/kvm')
-rw-r--r--include/kvm/arm_vgic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index 38864f5e47bc..ccb9b59818f4 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -86,6 +86,7 @@ struct vgic_ops {
void (*set_lr)(struct kvm_vcpu *, int, struct vgic_lr);
void (*sync_lr_elrsr)(struct kvm_vcpu *, int, struct vgic_lr);
u64 (*get_elrsr)(const struct kvm_vcpu *vcpu);
+ u64 (*get_eisr)(const struct kvm_vcpu *vcpu);
};
struct vgic_dist {