mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Revert "sched/spinlock: remove nesting spinlock support"
This reverts commit 5aa13bc490.
This commit is contained in:
@@ -43,6 +43,10 @@
|
||||
|
||||
volatile spinlock_t g_irq_spin = SP_UNLOCKED;
|
||||
|
||||
/* Handles nested calls to spin_lock_irqsave and spin_unlock_irqrestore */
|
||||
|
||||
volatile uint8_t g_irq_spin_count[CONFIG_SMP_NCPUS];
|
||||
|
||||
#ifdef CONFIG_RW_SPINLOCK
|
||||
/* Used for access control */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user