KVM: arm/arm64: Get rid of its->initialized field
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 8 May 2017 17:15:40 +0000 (18:15 +0100)
committerChristoffer Dall <cdall@linaro.org>
Tue, 9 May 2017 10:19:37 +0000 (12:19 +0200)
commit6cc40f273b30ef8f7b37f95cd2e6456d652808c0
treef50456c63801eed030446abcebcbe302743b4975
parent1aab6f468c10a1ec3977fb6f7bc12869174d516e
KVM: arm/arm64: Get rid of its->initialized field

The its->initialized doesn't bring much to the table, and creates
unnecessary ordering between setting the address and initializing it
(which amounts to exactly nothing).

Let's kill it altogether, making KVM_DEV_ARM_VGIC_CTRL_INIT the no-op
it deserves to be.

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