summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-02-26 20:38:56 +0100
committerVegard Nossum <vegard.nossum@gmail.com>2009-06-15 15:49:17 +0200
commit0a4af3b09309049d8560f8ad558a1337bb4f7f32 (patch)
tree7b3f627f94a82248146bc19bd3bb4f641b897526 /lib/Kconfig.debug
parentkmemcheck: enable in the x86 Kconfig (diff)
downloadlinux-0a4af3b09309049d8560f8ad558a1337bb4f7f32.tar.xz
linux-0a4af3b09309049d8560f8ad558a1337bb4f7f32.zip
kmemcheck: make kconfig accessible for other architectures
The Kconfig options of kmemcheck are hidden under arch/x86 which makes porting to other architectures harder. To fix that, move the Kconfig bits to lib/Kconfig.kmemcheck and introduce a CONFIG_HAVE_ARCH_KMEMCHECK config option that architectures can define. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> [rebased for mainline inclusion] Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 399ba811ba18..6b0c2d8a2129 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -996,3 +996,5 @@ config DMA_API_DEBUG
source "samples/Kconfig"
source "lib/Kconfig.kgdb"
+
+source "lib/Kconfig.kmemcheck"