Skip to content

Commit 4681dac

Browse files
MaskRaypalmer-dabbelt
authored andcommitted
riscv: replace deprecated scall with ecall
scall is a deprecated alias for ecall. ecall is used in several places, so there is no assembler compatibility concern. Signed-off-by: Fangrui Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 58b1294 commit 4681dac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/riscv/kernel/entry.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,6 @@ SYM_CODE_END(excp_vect_table)
348348
#ifndef CONFIG_MMU
349349
SYM_CODE_START(__user_rt_sigreturn)
350350
li a7, __NR_rt_sigreturn
351-
scall
351+
ecall
352352
SYM_CODE_END(__user_rt_sigreturn)
353353
#endif

arch/riscv/kernel/vdso/rt_sigreturn.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ ENTRY(__vdso_rt_sigreturn)
1111
.cfi_startproc
1212
.cfi_signal_frame
1313
li a7, __NR_rt_sigreturn
14-
scall
14+
ecall
1515
.cfi_endproc
1616
ENDPROC(__vdso_rt_sigreturn)

0 commit comments

Comments
 (0)