arm/arm64: KVM: Use appropriate define in VGIC reset code
authorChristoffer Dall <christoffer.dall@linaro.org>
Sun, 30 Aug 2015 12:45:20 +0000 (14:45 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 22 Oct 2015 21:01:43 +0000 (23:01 +0200)
commit54723bb37feac347a169359536f3dff122cabca3
tree80f6593a7634deb7b0c28cb2c8d7e3e303b3395c
parent8bf9a701e103fd17dbdf0355e43ff5200b4823aa
arm/arm64: KVM: Use appropriate define in VGIC reset code

We currently initialize the SGIs to be enabled in the VGIC code, but we
use the VGIC_NR_PPIS define for this purpose, instead of the the more
natural VGIC_NR_SGIS.  Change this slightly confusing use of the
defines.

Note: This should have no functional change, as both names are defined
to the number 16.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c