summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/OR_PRACTICAL_C/09_3.c
AgeCommit message (Expand)AuthorFilesLines
2008-01-27Initial import (2.0.2-6)2.0.2-6Tobias Klauser1-0/+16
a7 (patch) treeccee602ddeb5337a1dc38f49cd659f00f4a07813 parent4f551a3d96a2de85a041ee60e806bda1d5b06255 (diff)
KVM: arm/arm64: vgic: avoid map in kvm_vgic_map_is_active()
For getting the active state of a mapped IRQ, we actually only need the virtual IRQ number, not the pointer to the mapping entry. Pass the virtual IRQ number from the arch timer to the VGIC directly. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Eric Auger <eric.auger@linaro.org> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat