Sign in
android-kvm
/
linux
/
5370b0f49078203acf3c064b634a09707167a864
/
.
/
arch
/
arm64
/
kvm
/
hyp
/
vhe
/
timer-sr.c
blob: 4cda674a8be657c6eadc70d7d34775f6cab70ae5 [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2012-2015 - ARM Ltd
* Author: Marc Zyngier <marc.zyngier@arm.com>
*/
#include
<asm/kvm_hyp.h>
void
__kvm_timer_set_cntvoff
(
u64 cntvoff
)
{
write_sysreg
(
cntvoff
,
cntvoff_el2
);
}