]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64bd8b3e83044b84a65271024de431f2cc14312e
tree38868135d0bba39a1175c663ce4cab0cb6df117a
parent2da776161474e82f6a920e1e3d6a7140f4cab8e9
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