From: Paolo 'Blaisorblade' Giarrusso Date: Sat, 10 Feb 2007 16:45:37 +0000 (+0100) Subject: Kconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled. X-Git-Tag: v2.6.20.2~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7df8c214f25f15a352326ed9e7bcf6debb2f6fa3;p=thirdparty%2Fkernel%2Fstable.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 5c2681875b9ac..330bff80f210e 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.