summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorAlexandre Ghiti <alexghiti@rivosinc.com>2024-11-03 15:51:41 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2024-11-11 07:33:08 -0800
commit010e12aa4925b36700ebacb763a7e6cfd771d9a2 (patch)
tree3d82e8bd09408f6a245414c18805ecb4e4a495eb /net/lapb
parent81983758430957d9a5cb3333fe324fd70cf63e7e (diff)
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 'net/lapb')
0 files changed, 0 insertions, 0 deletions