summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/hyp/hyp.h
diff options
context:
space:
mode:
authorMarc Zyngier2015-10-19 17:32:20 +0200
committerMarc Zyngier2015-12-14 12:30:39 +0100
commit1431af367e52b08038e78d346822966d968f1694 (patch)
treeef38c2c78c5c883be30788d17abe2853b534050e /arch/arm64/kvm/hyp/hyp.h
parentarm64: KVM: Implement vgic-v3 save/restore (diff)
downloadkernel-qcow2-linux-1431af367e52b08038e78d346822966d968f1694.tar.gz
kernel-qcow2-linux-1431af367e52b08038e78d346822966d968f1694.tar.xz
kernel-qcow2-linux-1431af367e52b08038e78d346822966d968f1694.zip
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>
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 5759f9f5ef14..f213e4652bbf 100644
--- a/arch/arm64/kvm/hyp/hyp.h
+++ b/arch/arm64/kvm/hyp/hyp.h
@@ -35,5 +35,8 @@ void __vgic_v2_restore_state(struct kvm_vcpu *vcpu);
void __vgic_v3_save_state(struct kvm_vcpu *vcpu);
void __vgic_v3_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__ */