]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Kconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled.
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Sat, 10 Feb 2007 16:45:37 +0000 (17:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:21 +0000 (10:50 -0800)
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>
lib/Kconfig.debug

index 5c2681875b9ac31b1a363c63d909120cbc82b930..330bff80f210e9d7f2a3c31580bdc18e83242c03 100644 (file)
@@ -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.