Skip to content
Commit 652d0b70 authored by Keqian Zhu's avatar Keqian Zhu Committed by Marc Zyngier
Browse files

KVM: arm64: Use kvm_write_guest_lock when init stolen time



There is a lock version kvm_write_guest. Use it to simplify code.

Signed-off-by: default avatarKeqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Reviewed-by: default avatarAndrew Jones <drjones@redhat.com>
Reviewed-by: default avatarSteven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20200817110728.12196-3-zhukeqian1@huawei.com
parent 94558543
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment