mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
riscv/vfork: Replace jal with call for long jump
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user