diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2003-02-17 09:55:10 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2003-02-17 09:55:10 +0000 |
| commit | 4a338afd7a9034a944764eee1adb7b6f7668258c (patch) | |
| tree | 775429b184310789a1eb3bc1be8451f6faf1abf4 /sys/kern/sched_4bsd.c | |
| parent | d1d78df69b939f4e781cdf2b4be97c4a3bd5c468 (diff) | |
Notes
Diffstat (limited to 'sys/kern/sched_4bsd.c')
| -rw-r--r-- | sys/kern/sched_4bsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 325911f34c5e..605fcbde9c5e 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -123,7 +123,7 @@ maybe_resched(struct thread *td) mtx_assert(&sched_lock, MA_OWNED); if (td->td_priority < curthread->td_priority && curthread->td_kse) - curthread->td_kse->ke_flags |= KEF_NEEDRESCHED; + curthread->td_flags |= TDF_NEEDRESCHED; } /* @@ -535,7 +535,7 @@ sched_switchout(struct thread *td) td->td_lastcpu = ke->ke_oncpu; td->td_last_kse = ke; ke->ke_oncpu = NOCPU; - ke->ke_flags &= ~KEF_NEEDRESCHED; + td->td_flags &= ~TDF_NEEDRESCHED; /* * At the last moment, if this thread is still marked RUNNING, * then put it back on the run queue as it has not been suspended |
