]> git.baikalelectronics.ru Git - kernel.git/commit
kemleak-test: build as module only
authorDaniel Baluta <dbaluta@ixiacom.com>
Mon, 4 Apr 2011 22:06:44 +0000 (15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Apr 2011 00:51:47 +0000 (17:51 -0700)
commitd27b05fe6d9b142f136b5e67b048eb42d385cd7c
treec9b5d2691c04fc13d6cd716a986279e44d0463d4
parentc5720b7e06ff830b6f8744dedf3201cac6ee2c97
kemleak-test: build as module only

mm/kmemleak-test.c is used to provide an example of how kmemleak
tool works.

Memory is leaked at module unload-time, so building the test
in kernel (Y) makes the leaks impossible and the test useless.

Qualify DEBUG_KMEMLEAK_TEST config symbol with "depends on m",
to restrict module-only building.

Signed-off-by: Daniel Baluta <dbaluta@ixiacom.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig.debug