KVM: arm/arm64: vgic-v2: Move GICH_ELRSR saving to its own function
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 9 Feb 2016 17:07:18 +0000 (17:07 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 9 Mar 2016 04:22:23 +0000 (04:22 +0000)
commit2a1044f8b7bfd99296774f5f90abf8f96013a997
treed7be2ed796149bc114d43e9cc195e8fe44a1d88f
parentc813bb17f2b7166adb1c740ffc0d957b46271fa1
KVM: arm/arm64: vgic-v2: Move GICH_ELRSR saving to its own function

In order to make the saving path slightly more readable and
prepare for some more optimizations, let's move the GICH_ELRSR
saving to its own function.

No functional change.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/hyp/vgic-v2-sr.c