/branches/sparc/kernel/generic/src/main/main.c |
---|
275,7 → 275,7 |
if (!kinit_thread) |
panic("Can't create kinit thread\n"); |
LOG_EXEC(thread_ready(kinit_thread)); |
/* |
* This call to scheduler() will return to kinit, |
* starting the thread of kernel threads. |
/branches/sparc/kernel/generic/src/proc/scheduler.c |
---|
380,7 → 380,7 |
DEADLOCK_PROBE_INIT(p_joinwq); |
ASSERT(CPU != NULL); |
if (THREAD) { |
/* must be run after the switch to scheduler stack */ |
after_thread_ran(); |
460,7 → 460,7 |
} |
THREAD = find_best_thread(); |
spinlock_lock(&THREAD->lock); |
priority = THREAD->priority; |
spinlock_unlock(&THREAD->lock); |