diff options
author | 2024-11-03 15:51:41 +0100 | |
---|---|---|
committer | 2024-11-11 07:33:08 -0800 | |
commit | 010e12aa4925b36700ebacb763a7e6cfd771d9a2 (patch) | |
tree | 3d82e8bd09408f6a245414c18805ecb4e4a495eb /scripts/lib/kdoc/kdoc_parser.py | |
parent | Linux 6.12-rc5 (diff) | |
download | wireguard-linux-010e12aa4925b36700ebacb763a7e6cfd771d9a2.tar.xz wireguard-linux-010e12aa4925b36700ebacb763a7e6cfd771d9a2.zip |
riscv: Move cpufeature.h macros into their own header
asm/cmpxchg.h will soon need riscv_has_extension_unlikely() macros and
then needs to include asm/cpufeature.h which introduces a lot of header
circular dependencies.
So move the riscv_has_extension_XXX() macros into their own header which
prevents such circular dependencies by including a restricted number of
headers.
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-2-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