linux-stable/arch/riscv/errata
Andrew Jones ce06b42a4a
riscv: alternatives: Remove unnecessary define and unused struct
A define and a struct were introduced with commit 6f4eea9046
("riscv: Introduce alternative mechanism to apply errata solution"),
which introduced alternatives to RISC-V. The define is used for
an arbitrary string length, specific to sifive errata, so just use
the number directly there instead. The struct has never been used,
so remove it.

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-4-ajones@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2023-03-14 20:51:22 -07:00
..
sifive riscv: alternatives: Remove unnecessary define and unused struct 2023-03-14 20:51:22 -07:00
thead RISC-V: take text_mutex during alternative patching 2023-02-21 17:21:33 -08:00
Makefile riscv: add memory-type errata for T-Head 2022-05-11 21:36:33 -07:00