[PATCH v2 03/10] RISC-V: shunt isa_ext_arr to cpufeature.c

Evan Green evan at rivosinc.com
Thu Jun 29 16:11:01 PDT 2023


On Thu, Jun 29, 2023 at 1:30 AM Conor Dooley <conor.dooley at microchip.com> wrote:
>
> 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 at ventanamicro.com>
> Signed-off-by: Conor Dooley <conor.dooley at microchip.com>

Reviewed-by: Evan Green <evan at rivosinc.com>



More information about the linux-riscv mailing list