Fix context_switch_unlock being optimized out

This commit is contained in:
Jeremy Soller 2016-09-21 14:47:45 -06:00
parent 61eb0d1ca8
commit 0540726890

View file

@ -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);
}