[PATCH 2/2] kmemleak: Allow kmemleak to be built on powerpc

Michael Ellerman michael at ellerman.id.au
Mon Aug 10 15:06:27 EST 2009


Lightly tested, doesn't crash the kernel, leak reports appear
to be mostly sane.

Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
---
 lib/Kconfig.debug |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 12327b2..d5ca9a5 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -338,7 +338,7 @@ config SLUB_STATS
 
 config DEBUG_KMEMLEAK
 	bool "Kernel memory leak detector"
-	depends on DEBUG_KERNEL && EXPERIMENTAL && (X86 || ARM) && \
+	depends on DEBUG_KERNEL && EXPERIMENTAL && (X86 || ARM || PPC) && \
 		!MEMORY_HOTPLUG
 	select DEBUG_FS if SYSFS
 	select STACKTRACE if STACKTRACE_SUPPORT
-- 
1.6.2.1



More information about the Linuxppc-dev mailing list