sched/spin_lock: rename raw_spin_lock to spin_lock_notrace

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5
2025-01-31 07:01:07 +08:00
committed by archer
parent 42e6825cbc
commit f22b93b337
11 changed files with 96 additions and 96 deletions
+2 -2
View File
@@ -180,7 +180,7 @@ irqstate_t enter_critical_section_wo_note(void)
* no longer blocked by the critical section).
*/
raw_spin_lock(&g_cpu_irqlock);
spin_lock_notrace(&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);
raw_spin_lock(&g_cpu_irqlock);
spin_lock_notrace(&g_cpu_irqlock);
/* Then set the lock count to 1.
*