KVM: arm/arm64: vgic: avoid map in kvm_vgic_unmap_phys_irq()
authorAndre Przywara <andre.przywara@arm.com>
Wed, 13 Apr 2016 09:04:06 +0000 (10:04 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:38 +0000 (15:39 +0200)
commit63306c28ac92bdf9e41aef367708d762f9f725f2
tree1140f90b5d86d20ccfb19fe9fae5e93a6df457d5
parente262f4193638fff2de458f0c70284f0cb50926a7
KVM: arm/arm64: vgic: avoid map in kvm_vgic_unmap_phys_irq()

kvm_vgic_unmap_phys_irq() only needs the virtual IRQ number, so let's
just pass that between the arch timer and the VGIC to get rid of
the irq_phys_map pointer.

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>
include/kvm/arm_vgic.h
virt/kvm/arm/arch_timer.c
virt/kvm/arm/vgic.c