riscv/vfork: Replace jal with call for long jump
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
272e62018a
commit
84f4cf9b9d
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue