diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 7b3863d4f5e8..04e374c6fd46 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -107,7 +107,7 @@ config DEBUG_SLAB_LEAK | |||
107 | 107 | ||
108 | config DEBUG_PREEMPT | 108 | config DEBUG_PREEMPT |
109 | bool "Debug preemptible kernel" | 109 | bool "Debug preemptible kernel" |
110 | depends on DEBUG_KERNEL && PREEMPT | 110 | depends on DEBUG_KERNEL && PREEMPT && TRACE_IRQFLAGS_SUPPORT |
111 | default y | 111 | default y |
112 | help | 112 | help |
113 | If you say Y here then the kernel will use a debug variant of the | 113 | If you say Y here then the kernel will use a debug variant of the |
@@ -149,6 +149,10 @@ config DEBUG_SPINLOCK_SLEEP | |||
149 | If you say Y here, various routines which may sleep will become very | 149 | If you say Y here, various routines which may sleep will become very |
150 | noisy if they are called with a spinlock held. | 150 | noisy if they are called with a spinlock held. |
151 | 151 | ||
152 | config STACKTRACE | ||
153 | bool | ||
154 | depends on STACKTRACE_SUPPORT | ||
155 | |||
152 | config DEBUG_KOBJECT | 156 | config DEBUG_KOBJECT |
153 | bool "kobject debugging" | 157 | bool "kobject debugging" |
154 | depends on DEBUG_KERNEL | 158 | depends on DEBUG_KERNEL |