summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig.debug
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-03-25 10:11:56 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2015-05-11 11:53:59 +0200
commitf1e7c202a98cb87cc650d99d014f87e6248ae530 (patch)
tree86136e7baa250610f6bf558956f1e072ed0d7b9b /arch/powerpc/Kconfig.debug
parentpowerpc/pseries: Fix possible leaked device node reference (diff)
downloadlinux-f1e7c202a98cb87cc650d99d014f87e6248ae530.tar.xz
linux-f1e7c202a98cb87cc650d99d014f87e6248ae530.zip
powerpc: Make STRICT_MM_TYPECHECKS a config option
The STRICT_MM_TYPECHECKS code has bit-rotted over the years. To make it possible to easily build test it, make it a CONFIG option. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
-rw-r--r--arch/powerpc/Kconfig.debug8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug
index 0efa8f90a8f1..3a510f4a6b68 100644
--- a/arch/powerpc/Kconfig.debug
+++ b/arch/powerpc/Kconfig.debug
@@ -19,6 +19,14 @@ config PPC_WERROR
depends on !PPC_DISABLE_WERROR
default y
+config STRICT_MM_TYPECHECKS
+ bool "Do extra type checking on mm types"
+ default n
+ help
+ This option turns on extra type checking for some mm related types.
+
+ If you don't know what this means, say N.
+
config PRINT_STACK_DEPTH
int "Stack depth to print" if DEBUG_KERNEL
default 64