Prev: [RFC PATCH 2/3] ARM: Mark CPU_32v6K as depended on CPU_V7
Next: [RFC PATCH 1/3] kbuild: Warn on selecting symbols with unmet direct dependencies
From: Catalin Marinas on 8 Jun 2010 12:30 DEBUG_PAGEALLOC currently depends on ARCH_SUPPORTS_DEBUG_PAGEALLOC. However, it is selected by PAGE_POISONING which depends on !ARCH_SUPPORTS_DEBUG_PAGEALLOC. This patch changes the DEBUG_PAGEALLOC entry so that the dependency is moved to the definition line rather than having an explicit "depends on" line. Signed-off-by: Catalin Marinas <catalin.marinas(a)arm.com> Cc: Akinobu Mita <akinobu.mita(a)gmail.com> Cc: Andrew Morton <akpm(a)linux-foundation.org> Cc: Linus Torvalds <torvalds(a)linux-foundation.org> --- mm/Kconfig.debug | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug index af7cfb4..983375d 100644 --- a/mm/Kconfig.debug +++ b/mm/Kconfig.debug @@ -1,6 +1,6 @@ config DEBUG_PAGEALLOC - bool "Debug page memory allocations" - depends on DEBUG_KERNEL && ARCH_SUPPORTS_DEBUG_PAGEALLOC + bool "Debug page memory allocations" if ARCH_SUPPORTS_DEBUG_PAGEALLOC + depends on DEBUG_KERNEL depends on !HIBERNATION || !PPC && !SPARC depends on !KMEMCHECK ---help--- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |