Commit 3e78fc40 authored by Tianrui Zhao's avatar Tianrui Zhao
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>
parent c0b394dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment