]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit244f4bdcd1f7b78b61836ef51721122cef53b189
treefc3c9539ce761762f1dc2af3345c0ca5be1a9697
parenteafa9d1c50e30f5ff9d71eb15effbb1fe7a18835
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