kmemleak: fix kconfig for crc32 build error
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 6 Nov 2009 23:33:45 +0000 (15:33 -0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 6 Nov 2009 23:16:04 +0000 (23:16 +0000)
kmemleak uses crc32 functions so it needs to select CRC32.
Fixes build error:

kmemleak.c:(.text+0x7ce62): undefined reference to `crc32_le'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
lib/Kconfig.debug

index 30df5865ecbe81e204710b4216e96af10e7fc6bb..732b9f6ab1ee8bcf0d7deca60a3e0e2377c2a2c3 100644 (file)
@@ -352,6 +352,7 @@ config DEBUG_KMEMLEAK
        select DEBUG_FS if SYSFS
        select STACKTRACE if STACKTRACE_SUPPORT
        select KALLSYMS
+       select CRC32
        help
          Say Y here if you want to enable the memory leak
          detector. The memory allocation/freeing is traced in a way