xtensa: nommu: add MMU dependency to DEBUG_TLB_SANITY
[sfrench/cifs-2.6.git] / arch / xtensa / Kconfig.debug
index af7da74d535f1870c8c266c2caf6d6fa1f2b79c5..53ae08eef86d530a5436de2988872ff95f4b51c0 100644 (file)
@@ -4,7 +4,7 @@ source "lib/Kconfig.debug"
 
 config DEBUG_TLB_SANITY
        bool "Debug TLB sanity"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && MMU
        help
          Enable this to turn on TLB sanity check on each entry to userspace.
          This check can spot missing TLB invalidation/wrong PTE permissions/