]> www.infradead.org Git - users/willy/pagecache.git/commit
LoongArch: KVM: Fix typo issue about GCFG feature detection
authorBibo Mao <maobibo@loongson.cn>
Thu, 13 Feb 2025 04:02:56 +0000 (12:02 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 13 Feb 2025 04:02:56 +0000 (12:02 +0800)
commitbdb13252e5d1518823b81f458d9975c85d5240c2
treeca39e1e922d82bf6efa7a38feed4a679d9103e07
parent6287f1a8c16138c2ec750953e35039634018c84a
LoongArch: KVM: Fix typo issue about GCFG feature detection

This is typo issue and misusage about GCFG feature macro. The code
is wrong, only that it does not cause obvious problem since GCFG is
set again on vCPU context switch.

Fixes: 0d0df3c99d4f ("LoongArch: KVM: Implement kvm hardware enable, disable interface")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kvm/main.c