irqchip/gic-v3-its: Generalize device table allocation
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Dec 2016 18:53:02 +0000 (18:53 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 23 Aug 2017 10:09:18 +0000 (11:09 +0100)
commit70cc81edc08d2ae42414d609dac87e7db8da456d
treece105c2996d868c796394c434424df1995ef9dce
parentcf2be8ba6f264b75eb30ebfe74899e3462669a75
irqchip/gic-v3-its: Generalize device table allocation

As we want to use 2-level tables for VCPUs, let's hack the device
table allocator in order to make it slightly more generic. It
will get reused in subsequent patches.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c