KVM: arm/arm64: vgic-new: Add IRQ sorting
authorChristoffer Dall <christoffer.dall@linaro.org>
Wed, 25 Nov 2015 18:02:16 +0000 (10:02 -0800)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:46 +0000 (15:39 +0200)
commit8e4447457965a7ddc576d0b9fd34c9905eb0416d
tree0022f98ff98b9fd4dfca56bf6c02e85d2d9bc62e
parent81eeb95ddbabbb998a6b39f762bc7edaa2a979b4
KVM: arm/arm64: vgic-new: Add IRQ sorting

Adds the sorting function to cover the case where you have more IRQs
to consider than you have LRs. We now consider priorities.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic.c