x86: mm: convert dump_pagetables to use walk_page_range
[linux-2.6-block.git] / arch / x86 / Kconfig.debug
index c4eab8ed33a37fe2f97e788577a1f266d6b5e627..2e74690b028a5b93306f689b9cd9ef8f82649e5c 100644 (file)
@@ -62,26 +62,10 @@ config EARLY_PRINTK_USB_XDBC
 config MCSAFE_TEST
        def_bool n
 
-config X86_PTDUMP_CORE
-       def_bool n
-
-config X86_PTDUMP
-       tristate "Export kernel pagetable layout to userspace via debugfs"
-       depends on DEBUG_KERNEL
-       select DEBUG_FS
-       select X86_PTDUMP_CORE
-       ---help---
-         Say Y here if you want to show the kernel pagetable layout in a
-         debugfs file. This information is only useful for kernel developers
-         who are working in architecture specific areas of the kernel.
-         It is probably not a good idea to enable this feature in a production
-         kernel.
-         If in doubt, say "N"
-
 config EFI_PGT_DUMP
        bool "Dump the EFI pagetable"
        depends on EFI
-       select X86_PTDUMP_CORE
+       select PTDUMP_CORE
        ---help---
          Enable this if you want to dump the EFI page table before
          enabling virtual mode. This can be used to debug miscellaneous
@@ -90,7 +74,7 @@ config EFI_PGT_DUMP
 
 config DEBUG_WX
        bool "Warn on W+X mappings at boot"
-       select X86_PTDUMP_CORE
+       select PTDUMP_CORE
        ---help---
          Generate a warning if any W+X mappings are found at boot.