mirror of
https://github.com/apache/nuttx.git
synced 2026-08-21 23:51:21 +08:00
reason: In SMP, when a context switch occurs, restore_critical_section is executed. To reduce the time taken for context switching, we directly pass the required parameters to restore_critical_section instead of acquiring them repeatedly. Signed-off-by: hujun5 <hujun5@xiaomi.com>