arm_gic_kvm: Tell kernel about number of IRQs
commit72149414e25784de60b821fe67c56108a5b03ce1
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Dec 2014 12:07:53 +0000 (11 12:07 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Dec 2014 12:07:53 +0000 (11 12:07 +0000)
tree19cdf4b7e4e0249d43d1ba578d79aae4a2640eb1
parenta554ecb49d0021fd8bb0fd4f2f6be807b3c8b54f
arm_gic_kvm: Tell kernel about number of IRQs

Newer kernels support a device attribute on the GIC which allows us to
tell it how many IRQs this GIC instance is configured with; use it, if
it exists.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Message-id: 1417718679-1071-1-git-send-email-peter.maydell@linaro.org
hw/intc/arm_gic_kvm.c