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

From: Evan Green
Date: Thu Jun 29 2023 - 19:11:47 EST


On Thu, Jun 29, 2023 at 1:30 AM Conor Dooley <conor.dooley@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx>
> Signed-off-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>

Reviewed-by: Evan Green <evan@xxxxxxxxxxxx>