summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/syscall_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/syscall_subr.c b/kern/syscall_subr.c
index 3c369ef..6d23462 100644
--- a/kern/syscall_subr.c
+++ b/kern/syscall_subr.c
@@ -302,8 +302,8 @@ thread_depress_priority(
* sched_pri to their lowest possible values.
*/
thread->depress_priority = thread->priority;
- thread->priority = 31;
- thread->sched_pri = 31;
+ thread->priority = NRQS-1;
+ thread->sched_pri = NRQS-1;
if (ticks != 0)
set_timeout(&thread->depress_timer, ticks);