summaryrefslogtreecommitdiff
path: root/kern/sleepq.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2019-01-17 01:47:51 +0100
committerRichard Braun <rbraun@sceen.net>2019-01-17 01:47:51 +0100
commitddd03534471b9f092dac144fc05d727970236cf9 (patch)
tree3d70c51ff90af7c068a8ba36642163ad4b47083e /kern/sleepq.h
parentf53f22632e1ef6c6b35ed333db581248cc6b54a8 (diff)
Replace "awaken" with "awoken"
See https://www.merriam-webster.com/words-at-play/usage-awaken-awoken-awakened.
Diffstat (limited to 'kern/sleepq.h')
-rw-r--r--kern/sleepq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/sleepq.h b/kern/sleepq.h
index f866d0bd..68421992 100644
--- a/kern/sleepq.h
+++ b/kern/sleepq.h
@@ -84,7 +84,7 @@ void sleepq_release_intr_restore(struct sleepq *sleepq,
*
* When multiple threads lend their sleep queue for the same synchronization
* object, the extra queues lent are kept in an internal free list, used
- * when threads are awaken to return a queue to them. As a result, the
+ * when threads are awoken to return a queue to them. As a result, the
* sleep queue returned may not be the one lent.
*
* The sleep queue obtained when lending is automatically acquired.
@@ -139,7 +139,7 @@ int sleepq_timedwait(struct sleepq *sleepq, const char *wchan, uint64_t ticks);
* acquired) when waiting, and acquired in order to signal it,
* wake-ups are serialized and cannot be missed.
*
- * At least one thread is awaken if any threads are waiting on the sleep
+ * At least one thread is awoken if any threads are waiting on the sleep
* queue.
*
* Broadcasting a sleep queue wakes up all waiting threads.