tracing: Fix TRACING_SUPPORT dependency for PPC32
[safe/jmp/linux-2.6] / kernel / trace / Kconfig
index b0a46f8..8a4d729 100644 (file)
@@ -63,7 +63,11 @@ config TRACING
 #
 config TRACING_SUPPORT
        bool
-       depends on TRACE_IRQFLAGS_SUPPORT
+       # PPC32 has no irqflags tracing support, but it can use most of the
+       # tracers anyway, they were tested to build and work. Note that new
+       # exceptions to this list aren't welcomed, better implement the
+       # irqflags tracing for your architecture.
+       depends on TRACE_IRQFLAGS_SUPPORT || PPC32
        depends on STACKTRACE_SUPPORT
        default y