diff options
| author | John Hubbard <[email protected]> | 2024-07-04 07:24:27 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2024-07-11 17:23:55 +0000 |
| commit | 1158655317b6b6e71980533939dce9ab91d9716b (patch) | |
| tree | e3cb84d5b5370eedbbdeacb3f8f390cbb02a528a /drivers/net/ethernet/intel/igc | |
| parent | selftests: x86: test_FISTTP: use fisttps instead of ambiguous fisttp (diff) | |
| download | kernel-1158655317b6b6e71980533939dce9ab91d9716b.tar.gz kernel-1158655317b6b6e71980533939dce9ab91d9716b.zip | |
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 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions
