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:
hujun5
2025-01-20 12:36:29 +08:00
committed by Xiang Xiao
parent c6858061ed
commit b49f4286fb
10 changed files with 96 additions and 97 deletions
+2 -2
View File
@@ -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.
*