diff --git a/arch/x86_64/src/context.rs b/arch/x86_64/src/context.rs index 946330a..0816711 100644 --- a/arch/x86_64/src/context.rs +++ b/arch/x86_64/src/context.rs @@ -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); }