sched/: Fix some typos.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-08-13 17:42:59 +02:00 committed by Xiang Xiao
parent 5e817e25e8
commit 9859ceb8fd
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ static inline void nxsched_process_scheduler(void)
int i; int i;
/* If we are running on a single CPU architecture, then we know interrupts /* If we are running on a single CPU architecture, then we know interrupts
* a disabled an there is no need to explicitly call * are disabled and there is no need to explicitly call
* enter_critical_section(). However, in the SMP case, * enter_critical_section(). However, in the SMP case,
* enter_critical_section() does much more than just disable interrupts on * enter_critical_section() does much more than just disable interrupts on
* the local CPU; it also manages spinlocks to assure the stability of the * the local CPU; it also manages spinlocks to assure the stability of the

View File

@ -280,7 +280,7 @@ static uint32_t nxsched_process_scheduler(uint32_t ticks, bool noswitches)
int i; int i;
/* If we are running on a single CPU architecture, then we know interrupts /* If we are running on a single CPU architecture, then we know interrupts
* a disabled an there is no need to explicitly call * are disabled and there is no need to explicitly call
* enter_critical_section(). However, in the SMP case, * enter_critical_section(). However, in the SMP case,
* enter_critical_section() does much more than just disable interrupts on * enter_critical_section() does much more than just disable interrupts on
* the local CPU; it also manages spinlocks to assure the stability of the * the local CPU; it also manages spinlocks to assure the stability of the