Reapply "sched/spinlock: remove nesting spinlock support"

This reverts commit 9e81f5efac.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5
2024-10-13 16:09:09 +08:00
committed by Xiang Xiao
parent 223088d847
commit b964eeee18
2 changed files with 6 additions and 33 deletions
-4
View File
@@ -43,10 +43,6 @@
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 */