diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-10-02 12:52:56 -0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-10-21 05:28:51 -0400 |
commit | be603092ccc09f2d5ecf64cdf3c702b332a5dde3 (patch) | |
tree | 18e8a078e4bbb3fcd941586b8035f1c5b1db7c9a /arch/xtensa | |
parent | b6cee17b7d5999ae5f9ea51643dc6ea6c3e4efd4 (diff) |
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 'arch/xtensa')
-rw-r--r-- | arch/xtensa/Kconfig.debug | 2 |
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" | |||
4 | 4 | ||
5 | config DEBUG_TLB_SANITY | 5 | config DEBUG_TLB_SANITY |
6 | bool "Debug TLB sanity" | 6 | bool "Debug TLB sanity" |
7 | depends on DEBUG_KERNEL | 7 | depends on DEBUG_KERNEL && MMU |
8 | help | 8 | help |
9 | Enable this to turn on TLB sanity check on each entry to userspace. | 9 | Enable this to turn on TLB sanity check on each entry to userspace. |
10 | This check can spot missing TLB invalidation/wrong PTE permissions/ | 10 | This check can spot missing TLB invalidation/wrong PTE permissions/ |