KVM: arm/arm64: Slightly rework kvm_vgic_addr
authorChristoffer Dall <cdall@linaro.org>
Mon, 8 May 2017 10:28:19 +0000 (12:28 +0200)
committerChristoffer Dall <cdall@linaro.org>
Tue, 9 May 2017 10:19:36 +0000 (12:19 +0200)
commit72030536ebf5e5e512771922efa472a80f2c969f
tree66c782ae80b6248c1eba38b1464c7123d4a89505
parent9a746d75c06e2a68f27886d041c6e46df0aa86d8
KVM: arm/arm64: Slightly rework kvm_vgic_addr

As we are about to handle setting the address for the redistributor base
region separately from some of the other base addresses, let's rework
this function to leave a little more room for being flexible in what
each type of base address does.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
virt/kvm/arm/vgic/vgic-kvm-device.c