kmemcheck: make kconfig accessible for other architectures
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 26 Feb 2009 19:38:56 +0000 (21:38 +0200)
committerVegard Nossum <vegard.nossum@gmail.com>
Mon, 15 Jun 2009 13:49:17 +0000 (15:49 +0200)
commit0a4af3b09309049d8560f8ad558a1337bb4f7f32
tree7b3f627f94a82248146bc19bd3bb4f641b897526
parent7d46d9e6dbffe8780aa8430a63543d3f7ba92860
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>
arch/x86/Kconfig
arch/x86/Kconfig.debug
lib/Kconfig.debug
lib/Kconfig.kmemcheck [new file with mode: 0644]