summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-11-07 02:33:45 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2009-11-07 02:16:04 +0300
commitb60e26a2f03d963f8c79ad7920d64abc4d38ecbc (patch)
tree2245ca25d14ba61cd62a9108063576fe6fc65f45 /lib
parent04609ccc40c4e8f3eabe8894eb0de881c8b984fd (diff)
downloadlinux-b60e26a2f03d963f8c79ad7920d64abc4d38ecbc.tar.xz
kmemleak: fix kconfig for crc32 build error
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 30df5865ecbe..732b9f6ab1ee 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -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