riscv: lib: Include hwcap.h directly
authorAndrew Jones <ajones@ventanamicro.com>
Fri, 24 Feb 2023 15:46:00 +0000 (16:46 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 15 Mar 2023 03:51:24 +0000 (20:51 -0700)
commit28ea374da1d94dfe1253b83aa2d16b5a97fb7c4e
treec8bd2109326d9668b60cd748a5af1b480cde2156
parentff19a8dee196d757dbc32a946843260f0b784ca3
riscv: lib: Include hwcap.h directly

When using alternatives for cpufeatures we should include hwcap.h
directly, rather than through errata_list.h. Opportunistically drop
an unused include too.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
Link: https://lore.kernel.org/r/20230224154601.88163-6-ajones@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/lib/strcmp.S
arch/riscv/lib/strlen.S
arch/riscv/lib/strncmp.S