]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: KVM: Rename vgic_initialized to vgic_ready
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 9 Dec 2014 13:28:09 +0000 (14:28 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Sat, 13 Dec 2014 13:17:05 +0000 (14:17 +0100)
commit8f61d62d68e73bb82530669361969bb5b816bf72
tree839b74bd118672950321f2d8cd8e6c7d90dbb80e
parentcd38ee4316207f01595a03325a2217db0d8b8ba3
arm/arm64: KVM: Rename vgic_initialized to vgic_ready

The vgic_initialized() macro currently returns the state of the
vgic->ready flag, which indicates if the vgic is ready to be used when
running a VM, not specifically if its internal state has been
initialized.

Rename the macro accordingly in preparation for a more nuanced
initialization flow.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c
include/kvm/arm_vgic.h
virt/kvm/arm/vgic.c