mirror of
https://github.com/apache/nuttx.git
synced 2026-02-08 05:52:23 +08:00
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>