diff options
author | John Hubbard <[email protected]> | 2024-07-04 00:24:28 -0700 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2024-07-11 11:23:55 -0600 |
commit | 2ab9c93d6104e36110754d0778103f7f8719d969 (patch) | |
tree | 702ddcb94810725fcf3e2ae48391b037995b2f3e /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: John Hubbard <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions