diff options
author | John Hubbard <jhubbard@nvidia.com> | 2024-07-04 00:24:27 -0700 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-07-11 11:23:55 -0600 |
commit | 1158655317b6b6e71980533939dce9ab91d9716b (patch) | |
tree | e3cb84d5b5370eedbbdeacb3f8f390cbb02a528a /tools/perf/scripts/python/task-analyzer.py | |
parent | bf967fb39e020f4426d13e634d21283758aea3c8 (diff) |
selftests/x86: build fsgsbase_restore.c with clang
When building with clang, via:
make LLVM=1 -C tools/testing/selftests
Fix this by moving the inline asm to "pure" assembly, in two new files:
clang_helpers_32.S, clang_helpers_64.S.
As a bonus, the pure asm avoids the need for ifdefs, and is now very
simple and easy on the eyes.
Acked-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions