diff options
author | Eric Auger <eric.auger@redhat.com> | 2017-03-23 11:51:52 +0100 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-05-08 14:33:17 +0200 |
commit | dfc99f85c0a554b2885824654b1fc235bc4f9be9 (patch) | |
tree | 268f22ccd350a19a5ca94abab70946bdf2438ec8 /virt/kvm/arm/vgic/vgic.h | |
parent | KVM: arm64: vgic-its: KVM_DEV_ARM_VGIC_GRP_ITS_REGS group (diff) | |
download | linux-dfc99f85c0a554b2885824654b1fc235bc4f9be9.tar.xz linux-dfc99f85c0a554b2885824654b1fc235bc4f9be9.zip |
KVM: arm/arm64: vgic: expose (un)lock_all_vcpus
We need to use those helpers in vgic-its.c so let's
expose them in the private vgic header.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <cdall@linaro.org>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic.h')
-rw-r--r-- | virt/kvm/arm/vgic/vgic.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/virt/kvm/arm/vgic/vgic.h b/virt/kvm/arm/vgic/vgic.h index 44445dac0835..a48f33b04b2d 100644 --- a/virt/kvm/arm/vgic/vgic.h +++ b/virt/kvm/arm/vgic/vgic.h @@ -179,4 +179,7 @@ int vgic_init(struct kvm *kvm); int vgic_debug_init(struct kvm *kvm); int vgic_debug_destroy(struct kvm *kvm); +bool lock_all_vcpus(struct kvm *kvm); +void unlock_all_vcpus(struct kvm *kvm); + #endif |