]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited8204ad627325983c187d519fbf2c759a676d63
tree30f81e8e82eac5f8cffa83099df7f7552deb4eaf
parent64620d2bfe1a87e6a98cd6cc5a1ed8d837cdf4a6
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