OSDN Git Service

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)
commitd04019274d13301b413c28b85f1b1775a9d63062
treecc9a2f288989e166403fe011868582c91740c0e7
parent28e09d321035149b881ceb3253d0a6729b91d506
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