]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d50f5d30ad7c1982c9ce0846f0afc2bf20164da
treeee028f95d99b2e0f307cd06e7526f0bcbca13658
parente8493ebfd481a8753ad6c2c486388eb645b86743
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