mirror of
https://github.com/apache/nuttx.git
synced 2026-06-12 22:24:12 +08:00
1aab457b4c
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>