Commit adf92f71 authored by Tianrui Zhao's avatar Tianrui Zhao Committed by openeuler-sync-bot
Browse files

LoongArch: KVM: fix vcpu timer functions

LoongArch inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7QJIN



--------------------------------

Fix vcpu timer initialize, saved, restore and triggered functions.
As the previous code does not init vcpu timer, and the timer value
should add time value instead of ticks value to calculate the expire
time when vcpu timer triggered.

Signed-off-by: default avatarTianrui Zhao <zhaotianrui@loongson.cn>
(cherry picked from commit 3e78fc40)
parent 6b28c1c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment