arm/arm64: KVM: vgic: kill VGIC_NR_IRQS
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 8 Jul 2014 11:09:05 +0000 (12:09 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:19:23 +0000 (17:19 +0200)
commitddfab003a2dbff1e226a24860e8f4f91a7d3d131
tree9d7863f1e70603cd761c5138c8166811c1036e24
parent35a089f06fa6d1f02265be8b1e31e3775003d5c8
arm/arm64: KVM: vgic: kill VGIC_NR_IRQS

Nuke VGIC_NR_IRQS entierly, now that the distributor instance
contains the number of IRQ allocated to this GIC.

Also add VGIC_NR_IRQS_LEGACY to preserve the current API.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 5fb66da64064d0cb8dcce4cc8bf4cb1b921b13a0)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic.c