Update some comments

This commit is contained in:
Gregory Nutt 2018-02-05 07:58:00 -06:00
parent cbd8fa31d1
commit 8a48031615
3 changed files with 4 additions and 4 deletions

View File

@ -151,7 +151,7 @@ int sched_lock(void)
if (rtcb && !up_interrupt_context())
{
/* Catch attempts to increment the lockcount beyound the range of the
/* Catch attempts to increment the lockcount beyond the range of the
* integer type.
*/

View File

@ -101,7 +101,7 @@ int sched_unlock(void)
if (rtcb->lockcount <= 0)
{
#ifdef CONFIG_SCHED_INSTRUMENTATION_PREEMPTION
/* Note that we no longer have pre-emption */
/* Note that we no longer have pre-emption disabled. */
sched_note_premption(rtcb, false);
#endif

View File

@ -468,7 +468,7 @@ void spin_setbit(FAR volatile cpu_set_t *set, unsigned int cpu,
irqstate_t flags;
/* Disable local interrupts to prevent being re-entered from an interrupt
* on the same CPU. This does not effect the behavior on other CPUs.
* on the same CPU. This may not effect interrupt behavior on other CPUs.
*/
flags = up_irq_save();
@ -527,7 +527,7 @@ void spin_clrbit(FAR volatile cpu_set_t *set, unsigned int cpu,
irqstate_t flags;
/* Disable local interrupts to prevent being re-entered from an interrupt
* on the same CPU. This does not effect the behavior on other CPUs.
* on the same CPU. This may not effect interrupt behavior on other CPUs.
*/
flags = up_irq_save();