]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Define cpu_relax() helpers for s390 and x86
authorSean Christopherson <seanjc@google.com>
Sat, 26 Feb 2022 00:15:45 +0000 (00:15 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Mar 2022 15:59:11 +0000 (10:59 -0500)
commitae8834c5f72f141b4687071d8859dbaaca4f6535
tree081f94b219f4a37100f3a2257d28f3f9a7883635
parent024ea1812fbfbe31a95e8870f4c19d6f5285977e
KVM: selftests: Define cpu_relax() helpers for s390 and x86

Add cpu_relax() for s390 and x86 for use in arch-agnostic tests.  arm64
already defines its own version.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220226001546.360188-28-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/s390x/processor.h
tools/testing/selftests/kvm/include/x86_64/processor.h