diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 28afa4c5333c121e8a9feac719892fb17e5ef9a0..a7dd7b547fea67a0a8ccdb4fe9a1a57db60e9874 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -650,6 +650,7 @@ config TRACE_IRQFLAGS config DEBUG_SPINLOCK_SLEEP bool "Spinlock debugging: sleep-inside-spinlock checking" + select PREEMPT_COUNT depends on DEBUG_KERNEL help If you say Y here, various routines which may sleep will become very