diff options
author | Eric Auger <eric.auger@redhat.com> | 2017-10-27 15:28:32 +0100 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2017-11-06 17:20:19 +0100 |
commit | 47bbd31f740c4e693d01766f367ad3366fb49a6d (patch) | |
tree | 54bcec5711d5dd778f654e00949cf685b4148fc0 /arch/arm/kvm/reset.c | |
parent | 2412405b3141cfe943d05a28a2160187d45f1c9a (diff) |
KVM: arm/arm64: vgic: restructure kvm_vgic_(un)map_phys_irq
We want to reuse the core of the map/unmap functions for IRQ
forwarding. Let's move the computation of the hwirq in
kvm_vgic_map_phys_irq and pass the linux IRQ as parameter.
the host_irq is added to struct vgic_irq.
We introduce kvm_vgic_map/unmap_irq which take a struct vgic_irq
handle as a parameter.
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm/kvm/reset.c')
0 files changed, 0 insertions, 0 deletions