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 a new issue