diff options
author | 2023-07-13 13:11:03 +0100 | |
---|---|---|
committer | 2023-07-25 16:26:19 -0700 | |
commit | 37f988dcec056532820fb7c3e9a8367fd19f6c1b (patch) | |
tree | dab886bdaaa744b0f3ea23836e02f5c0b7928c93 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RISC-V: shunt isa_ext_arr to cpufeature.c (diff) | |
download | wireguard-linux-37f988dcec056532820fb7c3e9a8367fd19f6c1b.tar.xz wireguard-linux-37f988dcec056532820fb7c3e9a8367fd19f6c1b.zip |
RISC-V: repurpose riscv_isa_ext array in riscv_fill_hwcap()
In riscv_fill_hwcap() riscv_isa_ext array can be looped over, rather
than duplicating the list of extensions with individual
SET_ISA_EXT_MAP() usage. While at it, drop the statement-of-the-obvious
comments from the struct, rename uprop to something more suitable for
its new use & constify the members.
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230713-dastardly-affiliate-4cf819dccde2@wendy
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions