diff options
author | julian <julian@FreeBSD.org> | 2002-02-11 20:37:54 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-02-11 20:37:54 +0000 |
commit | 37369620df3d22440dcb4976ad061fe320a01bcb (patch) | |
tree | 91fc1230622927515e2c60360059682b64d84592 /sys/kern/subr_trap.c | |
parent | 72a803ac5ecbbbc7caf38fab112121c93f703b3f (diff) | |
download | FreeBSD-src-37369620df3d22440dcb4976ad061fe320a01bcb.zip FreeBSD-src-37369620df3d22440dcb4976ad061fe320a01bcb.tar.gz |
In a threaded world, differnt priorirites become properties of
different entities. Make it so.
Reviewed by: jhb@freebsd.org (john baldwin)
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 722ef92..9c24e17 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -80,7 +80,7 @@ userret(td, frame, oticks) mtx_unlock(&Giant); mtx_lock_spin(&sched_lock); - kg->kg_pri.pri_level = kg->kg_pri.pri_user; + td->td_priority = kg->kg_user_pri; if (ke->ke_flags & KEF_NEEDRESCHED) { DROP_GIANT(); setrunqueue(td); |