sched/Kconfig: RW_SPINLOCK depends on SPINLOCK

This commit is contained in:
raiden00pl 2023-11-04 10:13:21 +01:00 committed by Xiang Xiao
parent 34476b497f
commit ffc5434a8c

View file

@ -316,8 +316,6 @@ config TICKET_SPINLOCK
---help--- ---help---
Use ticket spinlock algorithm. Use ticket spinlock algorithm.
endif # SPINLOCK
config RW_SPINLOCK config RW_SPINLOCK
bool "Support read-write Spinlocks" bool "Support read-write Spinlocks"
default y default y
@ -326,6 +324,8 @@ config RW_SPINLOCK
Reader can take read lock simultaneously and only one writer Reader can take read lock simultaneously and only one writer
can take write lock. can take write lock.
endif # SPINLOCK
config IRQCHAIN config IRQCHAIN
bool "Enable multi handler sharing a IRQ" bool "Enable multi handler sharing a IRQ"
default n default n