diff options
Diffstat (limited to 'sys/kern/kern_kse.c')
-rw-r--r-- | sys/kern/kern_kse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index 02769b1..9d834b5 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -1641,7 +1641,7 @@ thread_userret(struct thread *td, struct trapframe *frame) if ((td->td_flags & TDF_NEEDSIGCHK) == 0 && (kg->kg_completed == NULL) && (ku->ku_flags & KUF_DOUPCALL) == 0 && - (kg->kg_upquantum && ticks >= kg->kg_nextupcall)) { + (kg->kg_upquantum && ticks < kg->kg_nextupcall)) { mtx_unlock_spin(&sched_lock); thread_update_usr_ticks(td, 0); nanotime(&ts); |