x86: enable CONFIG_DEBUG_PAGEALLOC more widely
[sfrench/cifs-2.6.git] / arch / x86 / Kconfig.debug
index 46d34b2db421c10a72e2df92ff43b884d73e810a..347e33e5f3950b7d60a50e1ab2cefbab32dbcdd9 100644 (file)
@@ -40,7 +40,7 @@ comment "Page alloc debug is incompatible with Software Suspend on i386"
 
 config DEBUG_PAGEALLOC
        bool "Debug page memory allocations"
-       depends on DEBUG_KERNEL && !HIBERNATION && !HUGETLBFS
+       depends on DEBUG_KERNEL
        help
          Unmap pages from the kernel linear mapping after free_pages().
          This results in a large slowdown, but helps to find certain types
@@ -205,6 +205,7 @@ config DEBUG_BOOT_PARAMS
 
 config CPA_DEBUG
        bool "CPA self test code"
+       depends on DEBUG_KERNEL
        help
          Do change_page_attr self tests at boot.