mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
b847bd64ea
Unfortunately, Clang did not have support for "sp" as a global register
definition, and was crashing after the addition of current_stack_pointer.
This has been fixed in Clang 14, but earlier Clang versions need to
avoid this code, so add a versioned test and revert back to the
open-coded asm instances. Fixes Clang build error:
fatal error: error in backend: Invalid register name global variable
Fixes:
|
||
---|---|---|
.. | ||
bitops.c | ||
bswapdi.c | ||
bswapsi.c | ||
csum_partial.S | ||
delay.c | ||
dump_tlb.c | ||
iomap_copy.c | ||
iomap-pci.c | ||
libgcc.h | ||
Makefile | ||
memcpy.S | ||
memset.S | ||
mips-atomic.c | ||
multi3.c | ||
r3k_dump_tlb.c | ||
strncpy_user.S | ||
strnlen_user.S | ||
uncached.c |