aarch64: clone: Fix incorrect stack offset in clone_ret
This commit is contained in:
@@ -266,6 +266,7 @@ pub struct SyscallStack {
|
||||
#[naked]
|
||||
pub unsafe extern fn clone_ret() {
|
||||
llvm_asm!("ldp x29, x30, [sp], #16");
|
||||
llvm_asm!("add sp, sp, #16");
|
||||
llvm_asm!("mov x0, 0");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user