From c9d338715de26e4095f1073949dad5f0cb18d028 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 24 Aug 2016 19:30:14 -0600 Subject: [PATCH] Fix the build. Sorry --- kernel/context/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kernel/context/mod.rs b/kernel/context/mod.rs index 42ff8ba..3e5e849 100644 --- a/kernel/context/mod.rs +++ b/kernel/context/mod.rs @@ -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