]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
xtensa: nommu: add MMU dependency to DEBUG_TLB_SANITY
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 2 Oct 2014 16:52:56 +0000 (20:52 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 21 Oct 2014 09:28:51 +0000 (13:28 +0400)
TLB sanity checking code depends on full MMU presence and may not be
built in noMMU confgiuration.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
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/