diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2019-11-30 10:45:18 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2019-12-06 11:41:38 +0000 |
commit | 72a610f32e1f1664803218ec654a8e3b8fb2081a (patch) | |
tree | b44caa77f4b0e9f9cd9b21cbb6a69da29e229c58 /ipc/msg.c | |
parent | 0bda9498dd45280e334bfe88b815ebf519602cc3 (diff) |
KVM: arm/arm64: vgic: Use wrapper function to lock/unlock all vcpus in kvm_vgic_create()
Use wrapper function lock_all_vcpus()/unlock_all_vcpus()
in kvm_vgic_create() to remove duplicated code dealing
with locking and unlocking all vcpus in a vm.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/1575081918-11401-1-git-send-email-linmiaohe@huawei.com
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions