Skip to contentSkip to conversation

Kconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled.

PATCH New Paolo 'Blaisorblade' Giarrusso 1 participant 1 message Feb 12, 2007 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

lib/Kconfig.debug +1 -1
Index: linux-2.6.git/lib/Kconfig.debug
===================================================================
@@ -400,7 +400,7 @@ config LKDTM
 config FAULT_INJECTION
 	bool "Fault-injection framework"
 	depends on DEBUG_KERNEL
-	depends on STACKTRACE
+	select STACKTRACE
 	select FRAME_POINTER
 	help
 	  Provide fault-injection framework.