diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2023-07-13 13:11:02 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-07-25 16:26:18 -0700 |
commit | 8135ade32c0db48e2e75b039b2c2454f722762de (patch) | |
tree | 7724922cf54cfb02279ce43714466aaa6af65269 /Kconfig | |
parent | 131033689da2ce17fb1407f0d3e608a203be5e09 (diff) |
RISC-V: shunt isa_ext_arr to cpufeature.c
To facilitate using one struct to define extensions, rather than having
several, shunt isa_ext_arr to cpufeature.c, where it will be used for
probing extension presence also.
As that scope of the array as widened, prefix it with riscv & drop the
type from the variable name.
Since the new array is const, print_isa() needs a wee bit of cleanup to
avoid complaints about losing the const qualifier.
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Evan Green <evan@rivosinc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230713-spirits-upside-a2c61c65fd5a@wendy
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions