From dd7c61b830151ee39cda159508b142716e2d5c47 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Tue, 5 Dec 2017 20:24:03 -0700
Subject: [PATCH] Allow other processors to pick up work

---
 src/context/switch.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/context/switch.rs b/src/context/switch.rs
index 28b0696..0702474 100644
--- a/src/context/switch.rs
+++ b/src/context/switch.rs
@@ -42,7 +42,7 @@ pub unsafe fn switch() -> bool {
         }
 
         let check_context = |context: &mut Context| -> bool {
-            if context.cpu_id == None && cpu_id == 0 {
+            if context.cpu_id == None {
                 context.cpu_id = Some(cpu_id);
                 // println!("{}: take {} {}", cpu_id, context.id, ::core::str::from_utf8_unchecked(&context.name.lock()));
             }
-- 
GitLab