mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Don't use the static thread.. it is going away.
This commit is contained in:
parent
1f1bebd1b4
commit
f04af82768
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99028
@ -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(;;) {
|
||||
|
Loading…
Reference in New Issue
Block a user