kmemleak: Select DEBUG_FS unconditionally in DEBUG_KMEMLEAK
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 27 Apr 2011 16:06:19 +0000 (17:06 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 19 May 2011 16:36:27 +0000 (17:36 +0100)
In the past DEBUG_FS used to depend on SYSFS and DEBUG_KMEMLEAK selected
it conditionally. This is no longer the case, so always select DEBUG_FS
via DEBUG_KMEMLEAK.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
lib/Kconfig.debug

index c768bcd..4eebb90 100644 (file)
@@ -400,7 +400,7 @@ config DEBUG_KMEMLEAK
        depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \
                (X86 || ARM || PPC || S390 || SPARC64 || SUPERH || MICROBLAZE || TILE)
 
-       select DEBUG_FS if SYSFS
+       select DEBUG_FS
        select STACKTRACE if STACKTRACE_SUPPORT
        select KALLSYMS
        select CRC32