diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_synch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 53ab46f..d376910 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -282,7 +282,7 @@ schedcpu(arg) * the kse slptimes are not touched in wakeup * because the thread may not HAVE a KSE */ - if (ke->ke_state == KES_ONRUNQ && + if (ke->ke_state == KES_ONRUNQ || ke->ke_state == KES_RUNNING) { ke->ke_slptime++; } else { |