diff options
| -rw-r--r-- | sys/kern/sched_4bsd.c | 2 | ||||
| -rw-r--r-- | sys/kern/sched_ule.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 880078497eb5..7b44e12ef330 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -952,7 +952,7 @@ sched_lend_user_prio_cond(struct thread *td, u_char prio) goto lend; if (td->td_user_pri != min(prio, td->td_base_user_pri)) goto lend; - if (td->td_priority >= td->td_user_pri) + if (td->td_priority != td->td_user_pri) goto lend; return; diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 78c55a08c90e..49bf3328f3d9 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -1900,7 +1900,7 @@ sched_lend_user_prio_cond(struct thread *td, u_char prio) goto lend; if (td->td_user_pri != min(prio, td->td_base_user_pri)) goto lend; - if (td->td_priority >= td->td_user_pri) + if (td->td_priority != td->td_user_pri) goto lend; return; |
