aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2024-07-04 00:24:27 -0700
committerShuah Khan <[email protected]>2024-07-11 11:23:55 -0600
commit1158655317b6b6e71980533939dce9ab91d9716b (patch)
treee3cb84d5b5370eedbbdeacb3f8f390cbb02a528a /lib/memory-notifier-error-inject.c
parentbf967fb39e020f4426d13e634d21283758aea3c8 (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 <[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