diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 891155817bc..234ceb10861 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -346,8 +346,9 @@ config SLUB_STATS | |||
346 | 346 | ||
347 | config DEBUG_KMEMLEAK | 347 | config DEBUG_KMEMLEAK |
348 | bool "Kernel memory leak detector" | 348 | bool "Kernel memory leak detector" |
349 | depends on DEBUG_KERNEL && EXPERIMENTAL && (X86 || ARM || PPC) && \ | 349 | depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \ |
350 | !MEMORY_HOTPLUG | 350 | (X86 || ARM || PPC || S390) |
351 | |||
351 | select DEBUG_FS if SYSFS | 352 | select DEBUG_FS if SYSFS |
352 | select STACKTRACE if STACKTRACE_SUPPORT | 353 | select STACKTRACE if STACKTRACE_SUPPORT |
353 | select KALLSYMS | 354 | select KALLSYMS |
@@ -370,7 +371,7 @@ config DEBUG_KMEMLEAK | |||
370 | config DEBUG_KMEMLEAK_EARLY_LOG_SIZE | 371 | config DEBUG_KMEMLEAK_EARLY_LOG_SIZE |
371 | int "Maximum kmemleak early log entries" | 372 | int "Maximum kmemleak early log entries" |
372 | depends on DEBUG_KMEMLEAK | 373 | depends on DEBUG_KMEMLEAK |
373 | range 200 2000 | 374 | range 200 40000 |
374 | default 400 | 375 | default 400 |
375 | help | 376 | help |
376 | Kmemleak must track all the memory allocations to avoid | 377 | Kmemleak must track all the memory allocations to avoid |
@@ -391,7 +392,7 @@ config DEBUG_KMEMLEAK_TEST | |||
391 | 392 | ||
392 | config DEBUG_PREEMPT | 393 | config DEBUG_PREEMPT |
393 | bool "Debug preemptible kernel" | 394 | bool "Debug preemptible kernel" |
394 | depends on DEBUG_KERNEL && PREEMPT && (TRACE_IRQFLAGS_SUPPORT || PPC64) | 395 | depends on DEBUG_KERNEL && PREEMPT && TRACE_IRQFLAGS_SUPPORT |
395 | default y | 396 | default y |
396 | help | 397 | help |
397 | If you say Y here then the kernel will use a debug variant of the | 398 | If you say Y here then the kernel will use a debug variant of the |