Don't use the static thread.. it is going away.

This commit is contained in:
Julian Elischer 2002-06-29 07:47:20 +00:00
parent 1f1bebd1b4
commit f04af82768

View File

@ -63,7 +63,7 @@ static void
g_up_procbody(void)
{
struct proc *p = g_up_proc;
struct thread *tp = &p->p_xxthread;
struct thread *tp = FIRST_THREAD_IN_PROC(p);
curthread->td_base_pri = PRIBIO;
for(;;) {
@ -86,7 +86,7 @@ static void
g_down_procbody(void)
{
struct proc *p = g_down_proc;
struct thread *tp = &p->p_xxthread;
struct thread *tp = FIRST_THREAD_IN_PROC(p);
curthread->td_base_pri = PRIBIO;
for(;;) {