diff options
author | Andrew Jones <drjones@redhat.com> | 2021-07-13 23:37:41 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-07-14 13:55:18 +0300 |
commit | bac0b135907855e9f8c032877c3df3c60885a08f (patch) | |
tree | 31684a63789ae4437e951133bdc14d945d45f55f /scripts/gdb/linux/utils.py | |
parent | 80d9ac9bd7b9366c2a89d2716a397749299728e7 (diff) | |
download | linux-bac0b135907855e9f8c032877c3df3c60885a08f.tar.xz |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions