diff options
| author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2023-04-19 12:07:34 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-04-19 12:07:34 +0800 |
| commit | b5533e990dd1de5872a34cba2f4f7f508c9b2ec3 (patch) | |
| tree | b059e3cf003d714f92ff16c0ea3fc3a94bfa17f5 /scripts/generate_rust_analyzer.py | |
| parent | LoongArch: Replace hard-coded values in comments with VALEN (diff) | |
| download | linux-b5533e990dd1de5872a34cba2f4f7f508c9b2ec3.tar.gz linux-b5533e990dd1de5872a34cba2f4f7f508c9b2ec3.zip | |
tools/loongarch: Use __SIZEOF_LONG__ to define __BITS_PER_LONG
Although __SIZEOF_POINTER__ is equal to _SIZEOF_LONG__ on LoongArch,
it is better to use __SIZEOF_LONG__ to define __BITS_PER_LONG to keep
consistent between arch/loongarch/include/uapi/asm/bitsperlong.h and
tools/arch/loongarch/include/uapi/asm/bitsperlong.h.
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
