UPSTREAM: KVM: arm: irqfd: fix value returned by kvm_irq_map_gsi

irqfd/arm curently does not support routing. kvm_irq_map_gsi is
supposed to return all the routing entries associated with the
provided gsi and return the number of those entries. We should
return 0 at this point.

BUG=chromium:846515
TEST=build/boot on hana with USE=kvm_host

Change-Id: I36d094a37b2f0876c168b60ed889cd4b1298b9e3
Signed-off-by: Eric Auger <eric.auger@linaro.org>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 0b3289ebc2d50cf5ab778215ed0b4075bbae6629)
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1088089
1 file changed