Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <maskray@google.com>
Link: https://lore.kernel.org/r/20230423223210.126948-1-maskray@google.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>

authored by

Fangrui Song and committed by
Palmer Dabbelt
4681daca 58b1294d

+2 -2
+1 -1
arch/riscv/kernel/entry.S
··· 348 348 #ifndef CONFIG_MMU 349 349 SYM_CODE_START(__user_rt_sigreturn) 350 350 li a7, __NR_rt_sigreturn 351 - scall 351 + ecall 352 352 SYM_CODE_END(__user_rt_sigreturn) 353 353 #endif
+1 -1
arch/riscv/kernel/vdso/rt_sigreturn.S
··· 11 11 .cfi_startproc 12 12 .cfi_signal_frame 13 13 li a7, __NR_rt_sigreturn 14 - scall 14 + ecall 15 15 .cfi_endproc 16 16 ENDPROC(__vdso_rt_sigreturn)