summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-02-09 09:40:59 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-02-09 09:40:59 +1100
commitb7f67f48b8e5269fd7f30ac2c9f29b0e5a2a1321 (patch)
treeccf8633d2ecd0c55a1949365fbe6059615e8101b /lib
parent9ed10a77bb61d7db4e5239cdeeefabdf3e41e5e6 (diff)
parent1ba318e23204c981a6f17b0e79cd9a166391e2ee (diff)
Merge remote-tracking branch 'arm/for-next'
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index eb9e9a7870fa..0a094614af20 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -622,9 +622,12 @@ config DEBUG_VM_PGFLAGS
If unsure, say N.
+config ARCH_HAS_DEBUG_VIRTUAL
+ bool
+
config DEBUG_VIRTUAL
bool "Debug VM translations"
- depends on DEBUG_KERNEL && X86
+ depends on DEBUG_KERNEL && ARCH_HAS_DEBUG_VIRTUAL
help
Enable some costly sanity checks in virtual to page code. This can
catch mistakes with virt_to_page() and friends.