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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c52d525a40
commit
7df8c214f2
+2
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user