diff options
Diffstat (limited to 'sys/kern/sched_4bsd.c')
-rw-r--r-- | sys/kern/sched_4bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 3f8cc1a..0ea397b 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -544,7 +544,7 @@ sched_switchout(struct thread *td) if (TD_IS_RUNNING(td)) { /* Put us back on the run queue (kse and all). */ setrunqueue(td); - } else if (p->p_flag & P_KSES) { + } else if (p->p_flag & P_THREADED) { /* * We will not be on the run queue. So we must be * sleeping or similar. As it's available, |