diff options
author | Daniel Baluta <[email protected]> | 2011-04-04 15:06:44 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-04-04 17:51:47 -0700 |
commit | 9718269a7f5f6f3d723dd34e05269579a3ccfc1e (patch) | |
tree | c9b5d2691c04fc13d6cd716a986279e44d0463d4 /scripts/patch-kernel | |
parent | f65e51d740688b8a0ad15cbde34974e6c4559972 (diff) |
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 <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions