KVM: arm/arm64: Move phys_timer_emulate function
authorChristoffer Dall <cdall@linaro.org>
Sun, 18 Jun 2017 08:41:06 +0000 (01:41 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Mon, 6 Nov 2017 15:23:15 +0000 (16:23 +0100)
commitcda93b7aa4657f2a9df28d56df8259226be8b0e9
tree4a58966cf04ec8360a2878b0ed23eac6cdcdb137
parentc1b135af8387bc6c6d43ed61a65647c68f231ea1
KVM: arm/arm64: Move phys_timer_emulate function

We are about to call phys_timer_emulate() from kvm_timer_update_state()
and modify phys_timer_emulate() at the same time.  Moving the function
and modifying it in a single patch makes the diff hard to read, so do
this separately first.

No functional change.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/arch_timer.c