]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitedb32f6174287d816475e0c0cb77fa2a196a6c60
tree2c7bccc3459029a9c55bd356fcdbe68369bf4acc
parent42e9c8fb1cdbadfafe0ad71964e58c7b60ce4a0e
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