Fix i686 compilation.

This commit is contained in:
4lDO2
2024-03-05 10:26:57 +01:00
parent b35c9d1e62
commit d38d8b66bd
8 changed files with 52 additions and 71 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ pub unsafe extern "C" fn switch_finish_hook() {
// TODO: unreachable_unchecked()?
crate::arch::stop::emergency_reset();
}
super::arch::switch_arch_hook();
crate::percpu::switch_arch_hook();
arch::CONTEXT_SWITCH_LOCK.store(false, Ordering::SeqCst);
}