]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc/debug: PTDUMP should depend on DEBUG_FS
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 1 Feb 2017 02:21:22 +0000 (13:21 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 Feb 2017 05:35:25 +0000 (16:35 +1100)
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 <mpe@ellerman.id.au>
arch/powerpc/Kconfig.debug

index 949258d412d07193d72bcdc0c253fc500c3bd086..c86df246339e9dd3750e8c731c3a5efb9eb47585 100644 (file)
@@ -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