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>
Fri, 19 Sep 2014 01:48:57 +0000 (18:48 -0700)
commit5fb66da64064d0cb8dcce4cc8bf4cb1b921b13a0
tree2c7bccc3459029a9c55bd356fcdbe68369bf4acc
parentc3c918361adcceb816c92b21dd95d2b46fb96a8f
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>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic.c