mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 10:38:40 +08:00
c7e7711db5
Using spin_lock_irqsave_nopreempt and spin_unlock_irqrestore_nopreempt to replace the following case. flags = spin_lock_irqsave(lock); sched_lock(); ..... spin_unlock_irqrestore(lock, flags); sched_unlock(); Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com>