mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 23:04:19 +08:00
Fix the build. Sorry
This commit is contained in:
parent
2be7ccaec2
commit
c9d338715d
@ -98,9 +98,7 @@ pub fn contexts_mut() -> RwLockWriteGuard<'static, ContextList> {
|
||||
/// Switch to the next context
|
||||
/// Do not call this while holding locks!
|
||||
pub unsafe fn context_switch() {
|
||||
|
||||
|
||||
current.arch.switch_to(&mut next.arch);
|
||||
// current.arch.switch_to(&mut next.arch);
|
||||
}
|
||||
|
||||
/// A context, which identifies either a process or a thread
|
||||
|
||||
Loading…
Reference in New Issue
Block a user