summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-11-06 15:33:45 -0800
committerCatalin Marinas <catalin.marinas@arm.com>2009-11-06 23:16:04 +0000
commitb60e26a2f03d963f8c79ad7920d64abc4d38ecbc (patch)
tree2245ca25d14ba61cd62a9108063576fe6fc65f45
parent04609ccc40c4e8f3eabe8894eb0de881c8b984fd (diff)
downloadop-kernel-dev-b60e26a2f03d963f8c79ad7920d64abc4d38ecbc.zip
op-kernel-dev-b60e26a2f03d963f8c79ad7920d64abc4d38ecbc.tar.gz
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>
-rw-r--r--lib/Kconfig.debug1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 30df586..732b9f6 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
OpenPOWER on IntegriCloud