summaryrefslogtreecommitdiffstats
path: root/tools/lib/python/feat/parse_features.py
diff options
context:
space:
mode:
authorHui Wang <hui.wang@canonical.com>2026-05-06 21:21:52 +0800
committerPaul Walmsley <pjw@kernel.org>2026-05-07 19:38:38 -0600
commit41337097f2823e99478d7cbe68d4893582ed0b18 (patch)
tree1475003e33a6fe5879cc0ffc753f15ac82bf4dc8 /tools/lib/python/feat/parse_features.py
parentdb909bd7986c10da074917af3dae83a60fa65093 (diff)
downloadlinux-41337097f2823e99478d7cbe68d4893582ed0b18.tar.gz
linux-41337097f2823e99478d7cbe68d4893582ed0b18.zip
riscv: cpufeature: Use pre-defined ISA ext macros to index isa2hwcap
We have pre-defined ISA extension macros, here use those macros to replace a magic number for isa2hwcap definition and some array indexing for isa2hwcap access. This doesn't change the original functionality, just improve the code maintainability and readability. Signed-off-by: Hui Wang <hui.wang@canonical.com> Link: https://patch.msgid.link/20260506132152.53239-1-hui.wang@canonical.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'tools/lib/python/feat/parse_features.py')
0 files changed, 0 insertions, 0 deletions