arm/arm64: KVM: refactor/wrap vgic_set/get_attr()
authorAndre Przywara <andre.przywara@arm.com>
Thu, 21 Aug 2014 10:08:27 +0000 (11:08 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 20 Jan 2015 17:25:29 +0000 (18:25 +0100)
commitb60da146c135ea6b6c25a0ae925edca038b64344
tree38868135d0bba39a1175c663ce4cab0cb6df117a
parentd97f683d0f4b2e63e68869f81ba2ce4ccbb6e5d8
arm/arm64: KVM: refactor/wrap vgic_set/get_attr()

vgic_set_attr() and vgic_get_attr() contain both code specific for
the emulated GIC as well as code for the userland facing, generic
part of the GIC.
Split the guest GIC facing code of from the generic part to allow
easier splitting later.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c