aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/hyp/hyp.h
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2016-05-24 12:02:26 +0800
committerAlex Shi <alex.shi@linaro.org>2016-05-24 16:30:24 +0800
commit4159c94b206b5c74b0ba4c626eeee9db8ec55559 (patch)
tree685f7518bf3e753a8320987137207c6c7ca89323 /arch/arm64/kvm/hyp/hyp.h
parentd4b8d850577b71af7ca6f46debc9c9feef6c13d2 (diff)
arm64: KVM: Implement timer save/restore
Implement the timer save restore as a direct translation of the assembly code version. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> (cherry picked from commit 1431af367e52b08038e78d346822966d968f1694) Signed-off-by: Alex Shi <alex.shi@linaro.org> Conflicts: arch/arm64/kvm/hyp/Makefile arch/arm64/kvm/hyp/hyp.h
Diffstat (limited to 'arch/arm64/kvm/hyp/hyp.h')
-rw-r--r--arch/arm64/kvm/hyp/hyp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/kvm/hyp/hyp.h b/arch/arm64/kvm/hyp/hyp.h
index ac63553834b9..7d58089da256 100644
--- a/arch/arm64/kvm/hyp/hyp.h
+++ b/arch/arm64/kvm/hyp/hyp.h
@@ -32,5 +32,8 @@
void __vgic_v2_save_state(struct kvm_vcpu *vcpu);
void __vgic_v2_restore_state(struct kvm_vcpu *vcpu);
+void __timer_save_state(struct kvm_vcpu *vcpu);
+void __timer_restore_state(struct kvm_vcpu *vcpu);
+
#endif /* __ARM64_KVM_HYP_H__ */