diff options
author | Andrew Jones <drjones@redhat.com> | 2021-07-13 22:37:41 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-07-14 11:55:18 +0100 |
commit | bac0b135907855e9f8c032877c3df3c60885a08f (patch) | |
tree | 31684a63789ae4437e951133bdc14d945d45f55f /tools/pci | |
parent | 80d9ac9bd7b9366c2a89d2716a397749299728e7 (diff) |
KVM: selftests: change pthread_yield to sched_yield
With later GCC we get
steal_time.c: In function ‘main’:
steal_time.c:323:25: warning: ‘pthread_yield’ is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations]
Let's follow the instructions and use sched_yield instead.
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210713203742.29680-2-drjones@redhat.com
Diffstat (limited to 'tools/pci')
0 files changed, 0 insertions, 0 deletions