[PATCH] fault-injection: stacktrace filtering kconfig fix
Andrew Morton [Fri, 8 Dec 2006 10:39:49 +0000 (02:39 -0800)]
`select' doesn't work very well.  With alpha `make allmodconfig' we end up
with CONFIG_STACKTRACE enabled, so we end up with undefined save_stacktrace()
at link time.

Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Don Mullis <dwm@meer.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

lib/Kconfig.debug

index c24db72..6eccc64 100644 (file)
@@ -417,7 +417,7 @@ config LKDTM
 config FAULT_INJECTION
        bool "Fault-injection framework"
        depends on DEBUG_KERNEL
-       select STACKTRACE
+       depends on STACKTRACE
        select FRAME_POINTER
        help
          Provide fault-injection framework.