diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-05-05 17:15:24 +0200 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-05-21 15:32:33 +0200 |
commit | 67ee52611b4d7a0da38e82409b86607c3a43fe8d (patch) | |
tree | 0308c86bc0c590b1d4f3d9beb22fb3ef26ef01a9 /tools/perf/scripts/python/libxed.py | |
parent | 5cccec7239c4765f5339951b1aa9063b80cfc29f (diff) |
selftests: harness: Remove dependency on libatomic
__sync_bool_compare_and_swap() is deprecated and requires libatomic on
GCC. Compiler toolchains don't necessarily have libatomic available, so
avoid this requirement by using atomics that don't need libatomic.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-6-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions