diff options
author | Eric Auger <eric.auger@redhat.com> | 2021-04-05 19:39:39 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-04-06 16:51:38 +0300 |
commit | e5a35635464bc5304674b84ea42615a3fd0bd949 (patch) | |
tree | c5c2a1897bc50e8d92609b5374181e6573fd952d /arch/arm64/kvm/vgic/vgic.h | |
parent | da3853097679022e14a2d125983f11a67fd2f96a (diff) | |
download | linux-e5a35635464bc5304674b84ea42615a3fd0bd949.tar.xz |
kvm: arm64: vgic-v3: Introduce vgic_v3_free_redist_region()
To improve the readability, we introduce the new
vgic_v3_free_redist_region helper and also rename
vgic_v3_insert_redist_region into vgic_v3_alloc_redist_region
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210405163941.510258-8-eric.auger@redhat.com
Diffstat (limited to 'arch/arm64/kvm/vgic/vgic.h')
-rw-r--r-- | arch/arm64/kvm/vgic/vgic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kvm/vgic/vgic.h b/arch/arm64/kvm/vgic/vgic.h index 64fcd7511110..bc418c2c1214 100644 --- a/arch/arm64/kvm/vgic/vgic.h +++ b/arch/arm64/kvm/vgic/vgic.h @@ -293,6 +293,7 @@ vgic_v3_rd_region_size(struct kvm *kvm, struct vgic_redist_region *rdreg) struct vgic_redist_region *vgic_v3_rdist_region_from_index(struct kvm *kvm, u32 index); +void vgic_v3_free_redist_region(struct vgic_redist_region *rdreg); bool vgic_v3_rdist_overlap(struct kvm *kvm, gpa_t base, size_t size); |