diff --git a/arch/risc-v/src/common/vfork.S b/arch/risc-v/src/common/vfork.S index d4283457ad4..f0868b6ca22 100644 --- a/arch/risc-v/src/common/vfork.S +++ b/arch/risc-v/src/common/vfork.S @@ -139,7 +139,7 @@ vfork: /* Then, call up_vfork(), passing it a pointer to the stack frame */ mv a0, sp - jal x1, up_vfork + call up_vfork /* Release the stack frame and return the value returned by up_vfork */