diff options
author | 2021-07-13 22:37:41 +0200 | |
---|---|---|
committer | 2021-07-14 11:55:18 +0100 | |
commit | bac0b135907855e9f8c032877c3df3c60885a08f (patch) | |
tree | 31684a63789ae4437e951133bdc14d945d45f55f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | KVM: arm64: Fix detection of shared VMAs on guest fault (diff) | |
download | wireguard-linux-bac0b135907855e9f8c032877c3df3c60885a08f.tar.xz wireguard-linux-bac0b135907855e9f8c032877c3df3c60885a08f.zip |
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/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions