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>
This commit is contained in:
Родитель
5b36f1deef
Коммит
bbdc16f58e
|
@ -338,7 +338,7 @@ config SLUB_STATS
|
||||||
|
|
||||||
config DEBUG_KMEMLEAK
|
config DEBUG_KMEMLEAK
|
||||||
bool "Kernel memory leak detector"
|
bool "Kernel memory leak detector"
|
||||||
depends on DEBUG_KERNEL && EXPERIMENTAL && (X86 || ARM) && \
|
depends on DEBUG_KERNEL && EXPERIMENTAL && (X86 || ARM || PPC) && \
|
||||||
!MEMORY_HOTPLUG
|
!MEMORY_HOTPLUG
|
||||||
select DEBUG_FS if SYSFS
|
select DEBUG_FS if SYSFS
|
||||||
select STACKTRACE if STACKTRACE_SUPPORT
|
select STACKTRACE if STACKTRACE_SUPPORT
|
||||||
|
|
Загрузка…
Ссылка в новой задаче