]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Inline "get max CPUID leaf" helpers
authorSean Christopherson <seanjc@google.com>
Tue, 14 Jun 2022 20:07:02 +0000 (20:07 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 14 Jul 2022 01:14:23 +0000 (18:14 -0700)
commit634b4617a4abc1a3305ae9b0cf0b573a9abb3661
treecc9a2f288989e166403fe011868582c91740c0e7
parent91cda40fc1d2fafe4dee4bc6dff47fdd201f9036
KVM: selftests: Inline "get max CPUID leaf" helpers

Make the "get max CPUID leaf" helpers static inline, there's no reason to
bury the one liners in processor.c.

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