mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +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:
@@ -1841,7 +1841,7 @@ void sched_note_filter_mode(FAR struct note_filter_named_mode_s *oldm,
|
||||
irqstate_t irq_mask;
|
||||
FAR struct note_driver_s **driver;
|
||||
|
||||
irq_mask = spin_lock_irqsave_wo_note(&g_note_lock);
|
||||
irq_mask = raw_spin_lock_irqsave(&g_note_lock);
|
||||
|
||||
if (oldm != NULL)
|
||||
{
|
||||
@@ -1877,7 +1877,7 @@ void sched_note_filter_mode(FAR struct note_filter_named_mode_s *oldm,
|
||||
}
|
||||
}
|
||||
|
||||
spin_unlock_irqrestore_wo_note(&g_note_lock, irq_mask);
|
||||
raw_spin_unlock_irqrestore(&g_note_lock, irq_mask);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
@@ -1907,7 +1907,7 @@ void sched_note_filter_syscall(FAR struct note_filter_named_syscall_s *oldf,
|
||||
irqstate_t irq_mask;
|
||||
FAR struct note_driver_s **driver;
|
||||
|
||||
irq_mask = spin_lock_irqsave_wo_note(&g_note_lock);
|
||||
irq_mask = raw_spin_lock_irqsave(&g_note_lock);
|
||||
|
||||
if (oldf != NULL)
|
||||
{
|
||||
@@ -1943,7 +1943,7 @@ void sched_note_filter_syscall(FAR struct note_filter_named_syscall_s *oldf,
|
||||
}
|
||||
}
|
||||
|
||||
spin_unlock_irqrestore_wo_note(&g_note_lock, irq_mask);
|
||||
raw_spin_unlock_irqrestore(&g_note_lock, irq_mask);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1974,7 +1974,7 @@ void sched_note_filter_irq(FAR struct note_filter_named_irq_s *oldf,
|
||||
irqstate_t irq_mask;
|
||||
FAR struct note_driver_s **driver;
|
||||
|
||||
irq_mask = spin_lock_irqsave_wo_note(&g_note_lock);
|
||||
irq_mask = raw_spin_lock_irqsave(&g_note_lock);
|
||||
|
||||
if (oldf != NULL)
|
||||
{
|
||||
@@ -2010,7 +2010,7 @@ void sched_note_filter_irq(FAR struct note_filter_named_irq_s *oldf,
|
||||
}
|
||||
}
|
||||
|
||||
spin_unlock_irqrestore_wo_note(&g_note_lock, irq_mask);
|
||||
raw_spin_unlock_irqrestore(&g_note_lock, irq_mask);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -2041,7 +2041,7 @@ void sched_note_filter_tag(FAR struct note_filter_named_tag_s *oldf,
|
||||
FAR struct note_driver_s **driver;
|
||||
irqstate_t irq_mask;
|
||||
|
||||
irq_mask = spin_lock_irqsave_wo_note(&g_note_lock);
|
||||
irq_mask = raw_spin_lock_irqsave(&g_note_lock);
|
||||
|
||||
if (oldf != NULL)
|
||||
{
|
||||
@@ -2077,7 +2077,7 @@ void sched_note_filter_tag(FAR struct note_filter_named_tag_s *oldf,
|
||||
}
|
||||
}
|
||||
|
||||
spin_unlock_irqrestore_wo_note(&g_note_lock, irq_mask);
|
||||
raw_spin_unlock_irqrestore(&g_note_lock, irq_mask);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user