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 fe90fee..f8a5c4f 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -911,7 +911,7 @@ sched_switch(struct thread *td, struct thread *newtd, int flags) td->td_lastcpu = td->td_oncpu; td->td_flags &= ~TDF_NEEDRESCHED; - td->td_pflags &= ~TDP_OWEPREEMPT; + td->td_owepreempt = 0; td->td_oncpu = NOCPU; /* * At the last moment, if this thread is still marked RUNNING, |