From 76cdb36733008ea9886bc06162671a88cf335fd6 Mon Sep 17 00:00:00 2001
From: "Benedict R. Gaster" <benedict.gaster@gmail.com>
Date: Tue, 9 Feb 2016 20:33:12 +0000
Subject: [PATCH] Fixed build error

---
 threads/thread.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/threads/thread.c b/threads/thread.c
index ee9355e..052302f 100644
--- a/threads/thread.c
+++ b/threads/thread.c
@@ -113,7 +113,7 @@ thread_start (void)
   /* Create the idle thread. */
   struct semaphore idle_started;
 
-  init_info (initial_thread, initial_thread->tid);
+  //init_info (initial_thread, initial_thread->tid);
   
   sema_init (&idle_started, 0);
   thread_create ("idle", PRI_MIN, idle, &idle_started);
@@ -472,7 +472,7 @@ init_thread (struct thread *t, const char *name, int priority)
   t->priority = priority;
   t->magic = THREAD_MAGIC;
 
-  t->is_kernel = is_kernel;
+  //t->is_kernel = is_kernel;
 
   old_level = intr_disable ();
   list_push_back (&all_list, &t->allelem);
-- 
GitLab