]> git.karo-electronics.de Git - linux-beck.git/commit
clocksource: arm_arch_timer: Gather KVM specific information in a structure
authorJulien Grall <julien.grall@arm.com>
Mon, 11 Apr 2016 15:32:51 +0000 (16:32 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 3 May 2016 10:54:20 +0000 (12:54 +0200)
commitb4d6ce9776e0fb773418efe8bc81d8c5ccca3493
tree5b69727c4c2961998c180ff6c6c20ad74367603e
parentd4b9e0790aa764c0b01e18d4e8d33e93ba36d51f
clocksource: arm_arch_timer: Gather KVM specific information in a structure

Introduce a structure which are filled up by the arch timer driver and
used by the virtual timer in KVM.

The first member of this structure will be the timecounter. More members
will be added later.

A stub for the new helper isn't introduced because KVM requires the arch
timer for both ARM64 and ARM32.

The function arch_timer_get_timecounter is kept for the time being and
will be dropped 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