]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Use kvm_vcpu_has_feature() directly for struct kvm
authorFuad Tabba <tabba@google.com>
Mon, 16 Dec 2024 10:50:57 +0000 (10:50 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Dec 2024 13:54:12 +0000 (13:54 +0000)
commitaac64ad36955268d65375c32415d5bcf1bd1dd47
treeb5e1b123be757b2b42571c42b69472380d3933f5
parent41d6028e28bd474298ff10409c292ec46cf43a90
KVM: arm64: Use kvm_vcpu_has_feature() directly for struct kvm

Now that we have introduced kvm_vcpu_has_feature(), use it in the
remaining code that checks for features in struct kvm, instead of
using the __vcpu_has_feature() helper.

No functional change intended.

Suggested-by: Quentin Perret <qperret@google.com>
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20241216105057.579031-18-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/nested.c