x86/virt: KVM: Open code cpu_has_svm() into kvm_is_svm_supported()
authorSean Christopherson <seanjc@google.com>
Fri, 21 Jul 2023 20:18:53 +0000 (13:18 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 3 Aug 2023 22:37:15 +0000 (15:37 -0700)
commit85fd29dd5fe459b732e46c7a9782fc403c5604ed
treeec45306e1fd09f582a76680b63a03f57fb2e68d6
parent5df8ecfe3632d5879d1f154f7aa8de441b5d1c89
x86/virt: KVM: Open code cpu_has_svm() into kvm_is_svm_supported()

Fold the guts of cpu_has_svm() into kvm_is_svm_supported(), its sole
remaining user.

No functional change intended.

Reviewed-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20230721201859.2307736-14-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/virtext.h
arch/x86/kvm/svm/svm.c