mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Fix typos reported by codespell
This commit is contained in:
committed by
Xiang Xiao
parent
b9f231cdca
commit
76acb32e29
@@ -157,9 +157,9 @@ int nxtask_exit(void)
|
||||
#ifdef CONFIG_SMP
|
||||
/* NOTE:
|
||||
* During nxtask_terminate(), enter_critical_section() will be called
|
||||
* to deallocate tcb. However, this would aquire g_cpu_irqlock if
|
||||
* to deallocate tcb. However, this would acquire g_cpu_irqlock if
|
||||
* rtcb->irqcount = 0, event though we are in critical section.
|
||||
* To prevent from aquiring, increment rtcb->irqcount here.
|
||||
* To prevent from acquiring, increment rtcb->irqcount here.
|
||||
*/
|
||||
|
||||
rtcb->irqcount++;
|
||||
|
||||
Reference in New Issue
Block a user