aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/handle_exit.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2022-04-19 19:27:49 +0100
committerMarc Zyngier <maz@kernel.org>2022-04-20 13:24:44 +0100
commitdaf85a5f6be33788e18ff3efad1d7c3ad66a8cb3 (patch)
tree008707fd27ba54bb589a748d8f1b6d447c4d2e66 /arch/arm64/kvm/handle_exit.c
parentKVM: arm64: Simplify kvm_cpu_has_pending_timer() (diff)
downloadlinux-dev-daf85a5f6be33788e18ff3efad1d7c3ad66a8cb3.tar.xz
linux-dev-daf85a5f6be33788e18ff3efad1d7c3ad66a8cb3.zip
KVM: arm64: Introduce kvm_counter_compute_delta() helper
Refactor kvm_timer_compute_delta() and extract a helper that compute the delta (in ns) between a given timer and an arbitrary value. No functional change expected. Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220419182755.601427-5-maz@kernel.org
Diffstat (limited to 'arch/arm64/kvm/handle_exit.c')
0 files changed, 0 insertions, 0 deletions