sched: remove spin_lock_irqsave(NULL) support

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5
2025-01-08 16:56:34 +08:00
committed by Xiang Xiao
parent 69ee240b45
commit 4bd8d9eac7
2 changed files with 10 additions and 70 deletions
-8
View File
@@ -39,14 +39,6 @@
* Public Data
****************************************************************************/
/* Used for access control */
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];
/****************************************************************************
* Public Functions
****************************************************************************/