riscv: replace deprecated scall with ecall
authorFangrui Song <maskray@google.com>
Sun, 23 Apr 2023 22:32:10 +0000 (22:32 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 20 Jun 2023 16:02:09 +0000 (09:02 -0700)
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>
arch/riscv/kernel/entry.S
arch/riscv/kernel/vdso/rt_sigreturn.S

index e9ae284..143a2bb 100644 (file)
@@ -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
index 0573705..10438c7 100644 (file)
@@ -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)