]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/Kconfig.debug
Kconfig: clean up the long arch list for the DEBUG_KMEMLEAK config option
[mirror_ubuntu-artful-kernel.git] / lib / Kconfig.debug
index 7fba3a98967fc826d76db8aac691a5a5e80911b8..736db3990506d3d1876c5399e253fbd3d2a063e6 100644 (file)
@@ -450,12 +450,12 @@ config SLUB_STATS
          out which slabs are relevant to a particular load.
          Try running: slabinfo -DA
 
+config HAVE_DEBUG_KMEMLEAK
+       bool
+
 config DEBUG_KMEMLEAK
        bool "Kernel memory leak detector"
-       depends on DEBUG_KERNEL && EXPERIMENTAL && \
-               (X86 || ARM || PPC || MIPS || S390 || SPARC64 || SUPERH || \
-                MICROBLAZE || TILE || ARM64)
-
+       depends on DEBUG_KERNEL && EXPERIMENTAL && HAVE_DEBUG_KMEMLEAK
        select DEBUG_FS
        select STACKTRACE if STACKTRACE_SUPPORT
        select KALLSYMS