riscv/vfork: Replace jal with call for long jump

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2023-06-13 17:38:28 +08:00 committed by Xiang Xiao
parent 272e62018a
commit 84f4cf9b9d
1 changed files with 1 additions and 1 deletions

View File

@ -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 */