[PATCH] FTRACE_STARTUP_TEST should depend on FTRACE.

From: Steven Noonan
Date: Sun Sep 14 2008 - 20:02:51 EST


Doesn't make sense to do an FTRACE startup test when FTRACE isn't
even being compiled in.

Signed-off-by: Steven Noonan <steven@xxxxxxxxxxxxxx>
---
kernel/trace/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 16e5bb5..1ee0400 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -152,6 +152,7 @@ config FTRACE_SELFTEST
config FTRACE_STARTUP_TEST
bool "Perform a startup test on ftrace"
depends on TRACING
+ depends on FTRACE
depends on DEBUG_KERNEL
select FTRACE_SELFTEST
help
--
1.6.0.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/