mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
spinlock: Due to semantic inconsistency, remove/rename some functions with the _wo_note suffix.
Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
@@ -180,7 +180,7 @@ irqstate_t enter_critical_section_wo_note(void)
|
||||
* no longer blocked by the critical section).
|
||||
*/
|
||||
|
||||
spin_lock_wo_note(&g_cpu_irqlock);
|
||||
raw_spin_lock(&g_cpu_irqlock);
|
||||
cpu_irqlock_set(cpu);
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ irqstate_t enter_critical_section_wo_note(void)
|
||||
|
||||
DEBUGASSERT((g_cpu_irqset & (1 << cpu)) == 0);
|
||||
|
||||
spin_lock_wo_note(&g_cpu_irqlock);
|
||||
raw_spin_lock(&g_cpu_irqlock);
|
||||
|
||||
/* Then set the lock count to 1.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user