summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2022-09-05 13:10:23 +0200
committerPalmer Dabbelt <palmer@rivosinc.com>2022-10-13 08:46:26 -0700
commite47bddcb2ec531022a915f896f13586470b593d0 (patch)
treeab455b3db4918574aaae3abf5142ab82ea9c6518 /scripts/gdb/linux/utils.py
parentcdcdb008552670abd6f60a1777d3723e6ca2716b (diff)
riscv: cleanup svpbmt cpufeature probing
For better readability (and compile time coverage) use IS_ENABLED instead of ifdef and drop the new unneeded switch statement. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Guo Ren <guoren@kernel.org> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Link: https://lore.kernel.org/r/20220905111027.2463297-2-heiko@sntech.de Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions