diff options
author | Thomas Weißschuh <[email protected]> | 2024-07-25 18:54:18 +0200 |
---|---|---|
committer | Thomas Weißschuh <[email protected]> | 2024-07-29 07:52:56 +0200 |
commit | 6ea2987c9a7b6c5f37d08a3eaa664c9ff7467670 (patch) | |
tree | 8e602c3ba559bcebc73b402eeea74192d626d0fa /tools/perf/scripts/python | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
tools/nolibc: include arch.h from string.h
string.h tests for the macros NOLIBC_ARCH_HAS_$FUNC to use the
architecture-optimized function variants.
However if string.h is included before arch.h header then that check
does not work, leading to duplicate function definitions.
Fixes: 553845eebd60 ("tools/nolibc: x86-64: Use `rep movsb` for `memcpy()` and `memmove()`")
Fixes: 12108aa8c1a1 ("tools/nolibc: x86-64: Use `rep stosb` for `memset()`")
Cc: [email protected]
Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions