Commit 4681daca authored by Fangrui Song's avatar Fangrui Song Committed by Palmer Dabbelt

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: default avatarFangrui Song <maskray@google.com>
Link: https://lore.kernel.org/r/20230423223210.126948-1-maskray@google.comSigned-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 58b1294d
......@@ -348,6 +348,6 @@ SYM_CODE_END(excp_vect_table)
#ifndef CONFIG_MMU
SYM_CODE_START(__user_rt_sigreturn)
li a7, __NR_rt_sigreturn
scall
ecall
SYM_CODE_END(__user_rt_sigreturn)
#endif
......@@ -11,6 +11,6 @@ ENTRY(__vdso_rt_sigreturn)
.cfi_startproc
.cfi_signal_frame
li a7, __NR_rt_sigreturn
scall
ecall
.cfi_endproc
ENDPROC(__vdso_rt_sigreturn)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment