diff options
Diffstat (limited to 'extras/mini-os/sched.c')
-rw-r--r-- | extras/mini-os/sched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/mini-os/sched.c b/extras/mini-os/sched.c index 6c1af5930f..9f60e16148 100644 --- a/extras/mini-os/sched.c +++ b/extras/mini-os/sched.c @@ -46,6 +46,7 @@ #include <sched.h> #include <semaphore.h> + #ifdef SCHED_DEBUG #define DEBUG(_f, _a...) \ printk("MINI_OS(file=sched.c, line=%d) " _f "\n", __LINE__, ## _a) @@ -61,7 +62,7 @@ #define clear_runnable(_thread) (_thread->flags &= ~RUNNABLE_FLAG) -struct thread *idle_thread; +struct thread *idle_thread = NULL; LIST_HEAD(exited_threads); void dump_stack(struct thread *thread) @@ -225,7 +226,6 @@ void idle_thread_fn(void *unused) for(;;) { schedule(); - printk("Blocking the domain\n"); block_domain(10000); } } |