clocksource: arm_arch_timer: Extend arch_timer_kvm_info to get the virtual IRQ
authorJulien Grall <julien.grall@arm.com>
Mon, 11 Apr 2016 15:32:52 +0000 (16:32 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 3 May 2016 10:54:21 +0000 (12:54 +0200)
commitd9b5e41591ca6bc6678e287b5ffe7fac2e07436e
treefc3c9539ce761762f1dc2af3345c0ca5be1a9697
parentb4d6ce9776e0fb773418efe8bc81d8c5ccca3493
clocksource: arm_arch_timer: Extend arch_timer_kvm_info to get the virtual IRQ

Currently, the firmware table is parsed by the virtual timer code in
order to retrieve the virtual timer interrupt. However, this is already
done by the arch timer driver.

To avoid code duplication, extend arch_timer_kvm_info to get the virtual
IRQ.

Note that the KVM code will be modified in a subsequent patch.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
drivers/clocksource/arm_arch_timer.c
include/clocksource/arm_arch_timer.h