summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-12-30 22:17:00 +0000
committerjhb <jhb@FreeBSD.org>2004-12-30 22:17:00 +0000
commitad4d00347bb24ffe155e9ba7e16e5e22c629f9c4 (patch)
tree923db472f3eedacaa94150476356876289fdd2a7
parent3f307e93e34fef6720a206ce7d4ffdbd0df2515c (diff)
downloadFreeBSD-src-ad4d00347bb24ffe155e9ba7e16e5e22c629f9c4.zip
FreeBSD-src-ad4d00347bb24ffe155e9ba7e16e5e22c629f9c4.tar.gz
Fix a typo and two whitespace nits.
-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