KVM: arm64: vgic-its: Add collection allocator/destructor
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 17 Jul 2016 19:01:46 +0000 (20:01 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:15:18 +0000 (18:15 +0100)
commit17a21f58ff3e60fef3df788561b65e576a0b494d
treeee028f95d99b2e0f307cd06e7526f0bcbca13658
parentd6c7f865f00adf98ca79712167fb0f1b9dccb272
KVM: arm64: vgic-its: Add collection allocator/destructor

Instead of spreading random allocations all over the place,
consolidate allocation/init/freeing of collections in a pair
of constructor/destructor.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic-its.c