summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2009-07-15 15:25:22 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-08-20 10:29:23 +1000
commitbbdc16f58ed84523e8991f103dceb586e9053e04 (patch)
tree18938d1e01910f2efd07fc64d46c06b7a719a7f7 /lib
parent5b36f1deefa63ef71cd3c3933781318ac61c5469 (diff)
kmemleak: Allow kmemleak to be built on powerpc
Very lightly tested, doesn't crash the kernel. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 12327b2bb785..d5ca9a5a31c6 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