summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>2007-02-10 17:45:37 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-03-09 10:50:21 -0800
commit7df8c214f25f15a352326ed9e7bcf6debb2f6fa3 (patch)
tree5efa2d290e64836672b9a6cccc24064d93216905 /lib
parentc52d525a40c26d01cc876ed0bc3d9fe16e6090b7 (diff)
Kconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled.
There is no prompt for STACKTRACE, so it is enabled only when 'select'ed. FAULT_INJECTION depends on it, while LOCKDEP selects it. So FAULT_INJECTION becomes visible in Kconfig only when LOCKDEP is enabled. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 5c2681875b9a..330bff80f210 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -399,8 +399,8 @@ config LKDTM
config FAULT_INJECTION
bool "Fault-injection framework"
- depends on DEBUG_KERNEL
- depends on STACKTRACE
+ depends on DEBUG_KERNEL && STACKTRACE_SUPPORT
+ select STACKTRACE
select FRAME_POINTER
help
Provide fault-injection framework.