diff --git a/src/syscall/process.rs b/src/syscall/process.rs index 5e7dd27c080dc9e6b67a52e19ac4489ac3f06e4d..df1b24de35ee0b270c422892f2b84749bee24418 100644 --- a/src/syscall/process.rs +++ b/src/syscall/process.rs @@ -519,7 +519,7 @@ pub fn clone(flags: CloneFlags, stack_base: usize) -> Result<ContextId> { // Update the pointer to the InterruptStack to reflect the new process' // stack. (Without this the pointer would be InterruptStack on the parent - // process' stack. + // process' stack). *(new_sp as *mut u64) = new_sp as u64 + istack_offset; // Update tpidr_el0 in the new process' InterruptStack