From: Daniel Baluta Date: Mon, 4 Apr 2011 22:06:44 +0000 (-0700) Subject: kemleak-test: build as module only X-Git-Tag: v2.6.39-rc2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9718269a7f5f6f3d723dd34e05269579a3ccfc1e;p=pandora-kernel.git 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 Acked-by: Pekka Enberg Acked-by: Catalin Marinas Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed