summaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2013-06-04 11:36:38 +0100
committerChristoffer Dall <christoffer.dall@linaro.org>2014-07-11 04:57:33 -0700
commitda8dafd1777cdd93091207952297d221a88e6479 (patch)
tree6181cb60c826de307e508801af46bfb29a1012a9 /include/kvm
parentbeee38b9d0c0ea6cf2a7f35c3108f7d8281d4545 (diff)
downloadop-kernel-dev-da8dafd1777cdd93091207952297d221a88e6479.zip
op-kernel-dev-da8dafd1777cdd93091207952297d221a88e6479.tar.gz
KVM: ARM: vgic: introduce vgic_enable
Move the code dealing with enabling the VGIC on to vgic_ops. 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 f515800..2228973 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -99,6 +99,7 @@ struct vgic_ops {
void (*disable_underflow)(struct kvm_vcpu *vcpu);
void (*get_vmcr)(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcr);
void (*set_vmcr)(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcr);
+ void (*enable)(struct kvm_vcpu *vcpu);
};
struct vgic_dist {
OpenPOWER on IntegriCloud