diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2023-07-28 10:30:42 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-07-28 10:30:42 +0800 |
| commit | 1e74ae32805b6630c78bd7fb746fbfe936fb8f86 (patch) | |
| tree | 88f3bebf23de1035d42980c8774670adab7a9065 /scripts/gdb/linux/utils.py | |
| parent | 4eece7e6de94d833c8aeed2f438faf487cbf94ff (diff) | |
LoongArch: Cleanup __builtin_constant_p() checking for cpu_has_*
In the current configuration, cpu_has_lsx and cpu_has_lasx cannot be
constants. So cleanup the __builtin_constant_p() checking to reduce the
complexity.
Reviewed-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
