KVM: arm/arm64: Merge vgic_set_lr() and vgic_sync_lr_elrsr()
authorPavel Fedin <p.fedin@samsung.com>
Tue, 27 Oct 2015 08:37:31 +0000 (11:37 +0300)
committerChristoffer Dall <christoffer.dall@linaro.org>
Wed, 4 Nov 2015 14:29:49 +0000 (15:29 +0100)
commit26caea7693cb99833fe4ecc544c842289d6b3f69
treea34f97555427536057beb1d616e03b4153080152
parent212c76545dde8370ebde2a170e4f8e1ed8441dc0
KVM: arm/arm64: Merge vgic_set_lr() and vgic_sync_lr_elrsr()

Now we see that vgic_set_lr() and vgic_sync_lr_elrsr() are always used
together. Merge them into one function, saving from second vgic_ops
dereferencing every time.

Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic-v2.c
virt/kvm/arm/vgic-v3.c
virt/kvm/arm/vgic.c