Skip to content

Commit

Permalink
kmemleak: fix kconfig for crc32 build error
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
  • Loading branch information
rddunlap authored and ctmarinas committed Nov 6, 2009
1 parent 04609cc commit b60e26a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b60e26a

Please sign in to comment.