File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ static inline int arch_atomic_sub_if_positive(int i, atomic_t *v)
158
158
"1: ll.w %1, %2 # atomic_sub_if_positive\n"
159
159
" addi.w %0, %1, %3 \n"
160
160
" move %1, %0 \n"
161
- " blt %0, $zero, 2f \n"
161
+ " bltz %0, 2f \n"
162
162
" sc.w %1, %2 \n"
163
163
" beqz %1, 1b \n"
164
164
"2: \n"
@@ -171,7 +171,7 @@ static inline int arch_atomic_sub_if_positive(int i, atomic_t *v)
171
171
"1: ll.w %1, %2 # atomic_sub_if_positive\n"
172
172
" sub.w %0, %1, %3 \n"
173
173
" move %1, %0 \n"
174
- " blt %0, $zero, 2f \n"
174
+ " bltz %0, 2f \n"
175
175
" sc.w %1, %2 \n"
176
176
" beqz %1, 1b \n"
177
177
"2: \n"
@@ -321,7 +321,7 @@ static inline long arch_atomic64_sub_if_positive(long i, atomic64_t *v)
321
321
"1: ll.d %1, %2 # atomic64_sub_if_positive \n"
322
322
" addi.d %0, %1, %3 \n"
323
323
" move %1, %0 \n"
324
- " blt %0, $zero, 2f \n"
324
+ " bltz %0, 2f \n"
325
325
" sc.d %1, %2 \n"
326
326
" beqz %1, 1b \n"
327
327
"2: \n"
@@ -334,7 +334,7 @@ static inline long arch_atomic64_sub_if_positive(long i, atomic64_t *v)
334
334
"1: ll.d %1, %2 # atomic64_sub_if_positive \n"
335
335
" sub.d %0, %1, %3 \n"
336
336
" move %1, %0 \n"
337
- " blt %0, $zero, 2f \n"
337
+ " bltz %0, 2f \n"
338
338
" sc.d %1, %2 \n"
339
339
" beqz %1, 1b \n"
340
340
"2: \n"
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ SYM_FUNC_START(handle_tlb_load)
47
47
* The vmalloc handling is not in the hotpath.
48
48
*/
49
49
csrrd t0, LOONGARCH_CSR_BADV
50
- blt t0, zero , vmalloc_load
50
+ bltz t0, vmalloc_load
51
51
csrrd t1, LOONGARCH_CSR_PGDL
52
52
53
53
vmalloc_done_load:
@@ -210,7 +210,7 @@ SYM_FUNC_START(handle_tlb_store)
210
210
* The vmalloc handling is not in the hotpath.
211
211
*/
212
212
csrrd t0, LOONGARCH_CSR_BADV
213
- blt t0, zero , vmalloc_store
213
+ bltz t0, vmalloc_store
214
214
csrrd t1, LOONGARCH_CSR_PGDL
215
215
216
216
vmalloc_done_store:
@@ -378,7 +378,7 @@ SYM_FUNC_START(handle_tlb_modify)
378
378
* The vmalloc handling is not in the hotpath.
379
379
*/
380
380
csrrd t0, LOONGARCH_CSR_BADV
381
- blt t0, zero , vmalloc_modify
381
+ bltz t0, vmalloc_modify
382
382
csrrd t1, LOONGARCH_CSR_PGDL
383
383
384
384
vmalloc_done_modify:
You can’t perform that action at this time.
0 commit comments