KVM: arm/arm64: Decouple kvm timer functions from virtual timer
authorJintack Lim <jintack@cs.columbia.edu>
Fri, 3 Feb 2017 15:20:01 +0000 (10:20 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 8 Feb 2017 15:13:33 +0000 (15:13 +0000)
commit9171fa2e0951b0cb6c443e0dce2c4620de3b1dfe
tree30f81e8e82eac5f8cffa83099df7f7552deb4eaf
parent90de943a430028ee389b22bf4a7ae5867c32ce0c
KVM: arm/arm64: Decouple kvm timer functions from virtual timer

Now that we have a separate structure for timer context, make functions
generic so that they can work with any timer context, not just the
virtual timer context.  This does not change the virtual timer
functionality.

Signed-off-by: Jintack Lim <jintack@cs.columbia.edu>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/arm.c
include/kvm/arm_arch_timer.h
virt/kvm/arm/arch_timer.c