[PATCH v3 04/11] RISC-V: shunt isa_ext_arr to cpufeature.c

Conor Dooley conor at kernel.org
Mon Jul 3 09:17:41 PDT 2023


On Mon, Jul 03, 2023 at 11:27:56AM +0100, Conor Dooley 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>

From v(n-1) that I forgot:
Reviewed-by: Evan Green <evan at rivosinc.com>
https://lore.kernel.org/all/CALs-Hsu5yA7eBPOFQkmd94GR+15wuFkbYbYSg4RubmkdQDyi8g@mail.gmail.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20230703/64ef0b53/attachment.sig>


More information about the linux-riscv mailing list