diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2026-07-23 22:27:16 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-07-23 22:27:16 +0800 |
| commit | 7ea74820edcb22ffa3fb068076d73c6821d7e6d2 (patch) | |
| tree | 2b8d4f687a6ac35b741bfa8d0f69a6c69e050f88 /scripts/objdiff | |
| parent | 7917d16d14fb512f8ffe3815b7940b6c93ff4fde (diff) | |
LoongArch: Fix build errors due to wrong instructions for 32BIT
In some assembly files there are some instructions that only valid for
64BIT, but those files can be compiled for 32BIT and cause build errors.
So, replace those instructions with macros:
li.d --> LONG_LI (li.w or li.d), addi.d --> PTR_ADDI (addi.w or addi.d).
BTW, Re-tab the indention in the assembly files for alignment.
Cc: stable@vger.kernel.org # 6.19+
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
