summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/Kconfig.debug
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-10-02 18:52:56 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2014-10-21 11:28:51 +0200
commitbe603092ccc09f2d5ecf64cdf3c702b332a5dde3 (patch)
tree18e8a078e4bbb3fcd941586b8035f1c5b1db7c9a /arch/xtensa/Kconfig.debug
parentxtensa: nommu: don't build most of the cache flushing code (diff)
downloadlinux-be603092ccc09f2d5ecf64cdf3c702b332a5dde3.tar.xz
linux-be603092ccc09f2d5ecf64cdf3c702b332a5dde3.zip
xtensa: nommu: add MMU dependency to DEBUG_TLB_SANITY
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>
Diffstat (limited to '')
-rw-r--r--arch/xtensa/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/Kconfig.debug b/arch/xtensa/Kconfig.debug
index af7da74d535f..53ae08eef86d 100644
--- a/arch/xtensa/Kconfig.debug
+++ b/arch/xtensa/Kconfig.debug
@@ -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/