diff options
Diffstat (limited to 'arch/xtensa/Kconfig.debug')
-rw-r--r-- | arch/xtensa/Kconfig.debug | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig.debug b/arch/xtensa/Kconfig.debug index a34010e0e51c..af7da74d535f 100644 --- a/arch/xtensa/Kconfig.debug +++ b/arch/xtensa/Kconfig.debug | |||
@@ -2,6 +2,16 @@ menu "Kernel hacking" | |||
2 | 2 | ||
3 | source "lib/Kconfig.debug" | 3 | source "lib/Kconfig.debug" |
4 | 4 | ||
5 | config DEBUG_TLB_SANITY | ||
6 | bool "Debug TLB sanity" | ||
7 | depends on DEBUG_KERNEL | ||
8 | help | ||
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/ | ||
11 | premature page freeing. | ||
12 | |||
13 | If unsure, say N. | ||
14 | |||
5 | config LD_NO_RELAX | 15 | config LD_NO_RELAX |
6 | bool "Disable linker relaxation" | 16 | bool "Disable linker relaxation" |
7 | default n | 17 | default n |