LoongArch: KVM: Use kvm_set_pte() in kvm_flush_pte()
authorTao Cui <cuitao@kylinos.cn>
Mon, 4 May 2026 01:00:38 +0000 (09:00 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 4 May 2026 01:00:38 +0000 (09:00 +0800)
commit81e18777d61440511451866c7c80b34a8bdd6b33
tree6a86e9d428be3f515ecf5c40f1a1a6035d7480d7
parentf26faae96c411a70641e4d21b759475caa6122d5
LoongArch: KVM: Use kvm_set_pte() in kvm_flush_pte()

kvm_flush_pte() is the only caller that directly assigns *pte instead
of using the kvm_set_pte() wrapper. Use the wrapper for consistency with
the rest of the file.

No functional change intended.

Cc: stable@vger.kernel.org
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Tao Cui <cuitao@kylinos.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kvm/mmu.c