From: Michael Ellerman Date: Wed, 1 Feb 2017 02:21:22 +0000 (+1100) Subject: powerpc/debug: PTDUMP should depend on DEBUG_FS X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c877f71b7b9c0a5144e29d599eac2c62c91070c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git powerpc/debug: PTDUMP should depend on DEBUG_FS CONFIG_PPC_PTDUMP currently selects CONFIG_DEBUG_FS. But CONFIG_DEBUG_FS is user-selectable, so we shouldn't select it. Instead depend on it. Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index 949258d412d0..c86df246339e 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug @@ -356,8 +356,7 @@ config FAIL_IOMMU config PPC_PTDUMP bool "Export kernel pagetable layout to userspace via debugfs" - depends on DEBUG_KERNEL - select DEBUG_FS + depends on DEBUG_KERNEL && DEBUG_FS help This option exports the state of the kernel pagetables to a debugfs file. This is only useful for kernel developers who are