diff options
author | John Hubbard <jhubbard@nvidia.com> | 2024-07-04 00:24:28 -0700 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-07-11 11:23:55 -0600 |
commit | 2ab9c93d6104e36110754d0778103f7f8719d969 (patch) | |
tree | 702ddcb94810725fcf3e2ae48391b037995b2f3e /tools/perf/scripts/python/parallel-perf.py | |
parent | 1158655317b6b6e71980533939dce9ab91d9716b (diff) |
selftests/x86: build sysret_rip.c with clang
When building with clang, via:
make LLVM=1 -C tools/testing/selftests
...the build fails because clang's inline asm doesn't support all of the
features that are used in the asm() snippet in sysret_rip.c.
Fix this by moving the asm code into the clang_helpers_64.S file, where
it can be built with the assembler's full set of features.
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/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions