mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-27 23:34:19 +08:00
Fix context_switch_unlock being optimized out
This commit is contained in:
parent
61eb0d1ca8
commit
0540726890
@ -105,6 +105,6 @@ impl Context {
|
||||
|
||||
/// Unset global lock, set inside of kernel
|
||||
#[no_mangle]
|
||||
extern fn context_switch_unlock(){
|
||||
pub extern fn context_switch_unlock(){
|
||||
CONTEXT_SWITCH_LOCK.store(false, Ordering::SeqCst);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user