diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-06-04 06:36:38 -0400 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-07-11 07:57:33 -0400 |
commit | da8dafd1777cdd93091207952297d221a88e6479 (patch) | |
tree | 6181cb60c826de307e508801af46bfb29a1012a9 /include/kvm | |
parent | beee38b9d0c0ea6cf2a7f35c3108f7d8281d4545 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index f51580043170..2228973ea8e4 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h | |||
@@ -99,6 +99,7 @@ struct vgic_ops { | |||
99 | void (*disable_underflow)(struct kvm_vcpu *vcpu); | 99 | void (*disable_underflow)(struct kvm_vcpu *vcpu); |
100 | void (*get_vmcr)(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcr); | 100 | void (*get_vmcr)(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcr); |
101 | void (*set_vmcr)(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcr); | 101 | void (*set_vmcr)(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcr); |
102 | void (*enable)(struct kvm_vcpu *vcpu); | ||
102 | }; | 103 | }; |
103 | 104 | ||
104 | struct vgic_dist { | 105 | struct vgic_dist { |