summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_ule.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/sched_ule.c')
-rw-r--r--sys/kern/sched_ule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c
index c7fb07d..696d700 100644
--- a/sys/kern/sched_ule.c
+++ b/sys/kern/sched_ule.c
@@ -1299,7 +1299,7 @@ sched_unlend_prio(struct thread *td, u_char prio)
else
base_pri = td->td_base_pri;
if (prio >= base_pri) {
- td->td_flags &= ~ TDF_BORROWING;
+ td->td_flags &= ~TDF_BORROWING;
sched_thread_priority(td, base_pri);
} else
sched_lend_prio(td, prio);
@@ -1314,7 +1314,7 @@ sched_prio(struct thread *td, u_char prio)
td->td_base_pri = prio;
/*
- * If the therad is borrowing another thread's priority, don't
+ * If the thread is borrowing another thread's priority, don't
* ever lower the priority.
*/
if (td->td_flags & TDF_BORROWING && td->td_priority < prio)
@@ -1331,7 +1331,7 @@ sched_prio(struct thread *td, u_char prio)
if (TD_ON_LOCK(td) && oldprio != prio)
turnstile_adjust(td, oldprio);
}
-
+
void
sched_switch(struct thread *td, struct thread *newtd, int flags)
{
OpenPOWER on IntegriCloud