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

login
register
mail settings
Submitter Michael Ellerman
Date Aug. 10, 2009, 5:06 a.m.
Message ID <67591a54fdff86f24adf7cc25302a0b3b103d6b5.1249880775.git.michael@ellerman.id.au>
Download mbox | patch
Permalink /patch/31068/
State Accepted, archived
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Michael Ellerman - Aug. 10, 2009, 5:06 a.m.
Lightly tested, doesn't crash the kernel, leak reports appear
to be mostly sane.

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

Patch

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