diff options
author | julian <julian@FreeBSD.org> | 2002-06-29 07:47:20 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-06-29 07:47:20 +0000 |
commit | 5322498852d694f03276468c64386d3ebc23a19c (patch) | |
tree | 22a70e04b67c6727752e93dcb60e6212806ba9be | |
parent | b2df37dd80498db7042be57b4616b5f28d4a3e60 (diff) | |
download | FreeBSD-src-5322498852d694f03276468c64386d3ebc23a19c.zip FreeBSD-src-5322498852d694f03276468c64386d3ebc23a19c.tar.gz |
Don't use the static thread.. it is going away.
-rw-r--r-- | sys/geom/geom_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_kern.c b/sys/geom/geom_kern.c index c672f3a..ac23861 100644 --- a/sys/geom/geom_kern.c +++ b/sys/geom/geom_kern.c @@ -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(;;) { |