]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a5fc5c454670da592a8f5f1d5306b27767cc07e
tree80f6593a7634deb7b0c28cb2c8d7e3e303b3395c
parentdf0fc20caadd5f387bd31ce324f88a61621f4677
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