linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kmemleak: Allow kmemleak to be built on powerpc
@ 2009-07-16  1:25 Michael Ellerman
  2009-07-16  7:43 ` Michael Ellerman
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Ellerman @ 2009-07-16  1:25 UTC (permalink / raw)
  To: catalin.marinas; +Cc: linuxppc-dev

Very lightly tested, doesn't crash the kernel.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---

It doesn't look like we actually need to add any support in the
arch code - or is there something I'm missing?


 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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-07-17  8:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-16  1:25 [PATCH] kmemleak: Allow kmemleak to be built on powerpc Michael Ellerman
2009-07-16  7:43 ` Michael Ellerman
2009-07-16 11:31   ` Josh Boyer
2009-07-16 13:16     ` Catalin Marinas
2009-07-16 17:52   ` Catalin Marinas
2009-07-17  0:29     ` Michael Ellerman
2009-07-17  8:26       ` Catalin Marinas
2009-07-17  8:32         ` Michael Ellerman
2009-07-17  8:41           ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).