]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Use get_cpuid_entry() in kvm_get_supported_cpuid_index()
authorSean Christopherson <seanjc@google.com>
Tue, 14 Jun 2022 20:06:46 +0000 (20:06 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 14 Jul 2022 01:14:16 +0000 (18:14 -0700)
commitf7b304975026cfb52806dbcbd3037984cbdbe013
tree2017fcf7ef36a1a63f6e746988833488f8c358b2
parent9d9ef140725982e4fb50b3a122d6d0793136b9e9
KVM: selftests: Use get_cpuid_entry() in kvm_get_supported_cpuid_index()

Use get_cpuid_entry() in kvm_get_supported_cpuid_index() to replace
functionally identical code.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-22-seanjc@google.com
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/lib/x86_64/processor.c