mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
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:
|
||
|---|---|---|
| .. | ||
| asm | ||
| uapi/asm | ||