[PATCH] powerpc/debug: PTDUMP should depend on DEBUG_FS

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE3474d

2 messages, 2 authors, 2017-02-02 · open the first message on its own page

[PATCH] powerpc/debug: PTDUMP should depend on DEBUG_FS

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-02-01 02:23:46

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 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
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
-- 
2.7.4

Re: powerpc/debug: PTDUMP should depend on DEBUG_FS

From: Michael Ellerman <hidden>
Date: 2017-02-02 11:45:16

On Wed, 2017-02-01 at 02:23:44 UTC, Michael Ellerman wrote:
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>
Applied to powerpc next.

https://git.kernel.org/powerpc/c/1c877f71b7b9c0a5144e29d599eac2

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help