From: Max Filippov Date: Thu, 2 Oct 2014 16:52:56 +0000 (+0400) Subject: xtensa: nommu: add MMU dependency to DEBUG_TLB_SANITY X-Git-Tag: v4.14-rc1~6277^2~4^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be603092ccc09f2d5ecf64cdf3c702b332a5dde3;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/arch/xtensa/Kconfig.debug b/arch/xtensa/Kconfig.debug index af7da74..53ae08e 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/