diff options
Diffstat (limited to 'virt/kvm/arm/vgic-v3-emul.c')
-rw-r--r-- | virt/kvm/arm/vgic-v3-emul.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/virt/kvm/arm/vgic-v3-emul.c b/virt/kvm/arm/vgic-v3-emul.c index b3f154631515..14943e3f7248 100644 --- a/virt/kvm/arm/vgic-v3-emul.c +++ b/virt/kvm/arm/vgic-v3-emul.c | |||
@@ -340,7 +340,7 @@ static bool handle_mmio_idregs(struct kvm_vcpu *vcpu, | |||
340 | return false; | 340 | return false; |
341 | } | 341 | } |
342 | 342 | ||
343 | static const struct kvm_mmio_range vgic_v3_dist_ranges[] = { | 343 | static const struct vgic_io_range vgic_v3_dist_ranges[] = { |
344 | { | 344 | { |
345 | .base = GICD_CTLR, | 345 | .base = GICD_CTLR, |
346 | .len = 0x04, | 346 | .len = 0x04, |
@@ -570,7 +570,7 @@ static bool handle_mmio_cfg_reg_redist(struct kvm_vcpu *vcpu, | |||
570 | return vgic_handle_cfg_reg(reg, mmio, offset); | 570 | return vgic_handle_cfg_reg(reg, mmio, offset); |
571 | } | 571 | } |
572 | 572 | ||
573 | static const struct kvm_mmio_range vgic_redist_sgi_ranges[] = { | 573 | static const struct vgic_io_range vgic_redist_sgi_ranges[] = { |
574 | { | 574 | { |
575 | .base = GICR_IGROUPR0, | 575 | .base = GICR_IGROUPR0, |
576 | .len = 0x04, | 576 | .len = 0x04, |
@@ -676,7 +676,7 @@ static bool handle_mmio_typer_redist(struct kvm_vcpu *vcpu, | |||
676 | return false; | 676 | return false; |
677 | } | 677 | } |
678 | 678 | ||
679 | static const struct kvm_mmio_range vgic_redist_ranges[] = { | 679 | static const struct vgic_io_range vgic_redist_ranges[] = { |
680 | { | 680 | { |
681 | .base = GICR_CTLR, | 681 | .base = GICR_CTLR, |
682 | .len = 0x04, | 682 | .len = 0x04, |
@@ -726,7 +726,7 @@ static bool vgic_v3_handle_mmio(struct kvm_vcpu *vcpu, struct kvm_run *run, | |||
726 | unsigned long rdbase = dist->vgic_redist_base; | 726 | unsigned long rdbase = dist->vgic_redist_base; |
727 | int nrcpus = atomic_read(&vcpu->kvm->online_vcpus); | 727 | int nrcpus = atomic_read(&vcpu->kvm->online_vcpus); |
728 | int vcpu_id; | 728 | int vcpu_id; |
729 | const struct kvm_mmio_range *mmio_range; | 729 | const struct vgic_io_range *mmio_range; |
730 | 730 | ||
731 | if (is_in_range(mmio->phys_addr, mmio->len, dbase, GIC_V3_DIST_SIZE)) { | 731 | if (is_in_range(mmio->phys_addr, mmio->len, dbase, GIC_V3_DIST_SIZE)) { |
732 | return vgic_handle_mmio_range(vcpu, run, mmio, | 732 | return vgic_handle_mmio_range(vcpu, run, mmio, |