[PATCH] fault-injection: stacktrace filtering kconfig fix
authorAndrew Morton <akpm@osdl.org>
Fri, 8 Dec 2006 10:39:49 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:03 +0000 (08:29 -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 c24db7221b55448b13190dacdb007bac68ba0c39..6eccc643c32edc3e2b11920ba17c1bd73ba11609 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.