summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2009-07-15 15:25:22 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-08-20 00:29:23 (GMT)
commitbbdc16f58ed84523e8991f103dceb586e9053e04 (patch)
tree18938d1e01910f2efd07fc64d46c06b7a719a7f7 /lib
parent5b36f1deefa63ef71cd3c3933781318ac61c5469 (diff)
downloadlinux-fsl-qoriq-bbdc16f58ed84523e8991f103dceb586e9053e04.tar.xz
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 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