Skip to content

Commit a6416f5

Browse files
committed
ARC: use ASL assembler mnemonic
ARCompact and ARCv2 only have ASL, while binutils used to support LSL as a alias mnemonic. Newer binutils (upstream) don't want to do that so replace it. Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent 541366d commit a6416f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/arc/mm/tlbex.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ ex_saved_reg1:
8888
#ifdef CONFIG_SMP
8989
sr r0, [ARC_REG_SCRATCH_DATA0] ; freeup r0 to code with
9090
GET_CPU_ID r0 ; get to per cpu scratch mem,
91-
lsl r0, r0, L1_CACHE_SHIFT ; cache line wide per cpu
91+
asl r0, r0, L1_CACHE_SHIFT ; cache line wide per cpu
9292
add r0, @ex_saved_reg1, r0
9393
#else
9494
st r0, [@ex_saved_reg1]
@@ -107,7 +107,7 @@ ex_saved_reg1:
107107
.macro TLBMISS_RESTORE_REGS
108108
#ifdef CONFIG_SMP
109109
GET_CPU_ID r0 ; get to per cpu scratch mem
110-
lsl r0, r0, L1_CACHE_SHIFT ; each is cache line wide
110+
asl r0, r0, L1_CACHE_SHIFT ; each is cache line wide
111111
add r0, @ex_saved_reg1, r0
112112
ld_s r3, [r0,12]
113113
ld_s r2, [r0, 8]
@@ -256,7 +256,7 @@ ex_saved_reg1:
256256

257257
.macro CONV_PTE_TO_TLB
258258
and r3, r0, PTE_BITS_RWX ; r w x
259-
lsl r2, r3, 3 ; Kr Kw Kx 0 0 0 (GLOBAL, kernel only)
259+
asl r2, r3, 3 ; Kr Kw Kx 0 0 0 (GLOBAL, kernel only)
260260
and.f 0, r0, _PAGE_GLOBAL
261261
or.z r2, r2, r3 ; Kr Kw Kx Ur Uw Ux (!GLOBAL, user page)
262262

0 commit comments

Comments
 (0)