Skip to content
Snippets Groups Projects
Commit 5bc9dea2 authored by Robin Randhawa's avatar Robin Randhawa
Browse files

aarch64: context::switch: update the CONTEXT_SWITCH_LOCK

parent 6677cfbf
2 merge requests!160Misc fixes,!156WIP: aarch64 support
......@@ -239,6 +239,8 @@ impl Context {
llvm_asm!("mov $0, sp" : "=r"(self.sp) : : "memory" : "volatile");
llvm_asm!("mov sp, $0" : : "r"(next.sp) : "memory" : "volatile");
CONTEXT_SWITCH_LOCK.store(false, Ordering::SeqCst);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment