summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic-v3.c
diff options
context:
space:
mode:
authorChristoffer Dall <cdall@linaro.org>2017-05-08 12:18:26 +0200
committerChristoffer Dall <cdall@linaro.org>2017-05-09 12:19:28 +0200
commit7fadcd3a859b218fa27c399db0aa8d6d62ad84a9 (patch)
tree6ec8cc4231fcac6a1b9105c8378fe4dbaf6cf51d /virt/kvm/arm/vgic/vgic-v3.c
parent497d72d80a789501501cccabdad6b145f9e31371 (diff)
downloadlinux-7fadcd3a859b218fa27c399db0aa8d6d62ad84a9.tar.gz
linux-7fadcd3a859b218fa27c399db0aa8d6d62ad84a9.tar.bz2
linux-7fadcd3a859b218fa27c399db0aa8d6d62ad84a9.zip
KVM: arm/arm64: Refactor vgic_register_redist_iodevs
Split out the function to register all the redistributor iodevs into a function that handles a single redistributor at a time in preparation for being able to call this per VCPU as these get created. Signed-off-by: Christoffer Dall <cdall@linaro.org> Reviewed-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-v3.c')
-rw-r--r--virt/kvm/arm/vgic/vgic-v3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/arm/vgic/vgic-v3.c b/virt/kvm/arm/vgic/vgic-v3.c
index 54dee725da18..12e52a06e146 100644
--- a/virt/kvm/arm/vgic/vgic-v3.c
+++ b/virt/kvm/arm/vgic/vgic-v3.c
@@ -386,7 +386,7 @@ int vgic_v3_map_resources(struct kvm *kvm)
goto out;
}
- ret = vgic_register_redist_iodevs(kvm, dist->vgic_redist_base);
+ ret = vgic_register_redist_iodevs(kvm);
if (ret) {
kvm_err("Unable to register VGICv3 redist MMIO regions\n");
goto out;