diff options
author | 2024-11-03 15:51:42 +0100 | |
---|---|---|
committer | 2024-11-11 07:33:09 -0800 | |
commit | af042c457db07db4bc1baa5c22d089cab69cfc5b (patch) | |
tree | 4d792580a0d0155bbd452df8958ca5fb301c91cd /scripts/lib/kdoc/kdoc_parser.py | |
parent | riscv: Move cpufeature.h macros into their own header (diff) | |
download | wireguard-linux-af042c457db07db4bc1baa5c22d089cab69cfc5b.tar.xz wireguard-linux-af042c457db07db4bc1baa5c22d089cab69cfc5b.zip |
riscv: Do not fail to build on byte/halfword operations with Zawrs
riscv does not have lr instructions on byte and halfword but the
qspinlock implementation actually uses such atomics provided by the
Zabha extension, so those sizes are legitimate.
Then instead of failing to build, just fallback to the !Zawrs path.
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Andrea Parri <parri.andrea@gmail.com>
Link: https://lore.kernel.org/r/20241103145153.105097-3-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions