[PATCH 01/18] ring-buffer: Select IRQ_WORK

From: Steven Rostedt
Date: Fri May 10 2013 - 20:18:08 EST


From: "Steven Rostedt (Red Hat)" <rostedt@xxxxxxxxxxx>

As the wake up logic for waiters on the buffer has been moved
from the tracing code to the ring buffer, it requires also adding
IRQ_WORK as the wake up code is performed via irq_work.

This fixes compile breakage when a user of the ring buffer is selected
but tracing and irq_work are not.

Link http://lkml.kernel.org/r/20130503115332.GT8356@xxxxxxxxxxxxxx

Cc: Arnd Bergmann <arnd@xxxxxxxx>
Reported-by: Robert Richter <rric@xxxxxxxxxx>
Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
kernel/trace/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 5e9efd4..015f85a 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -71,6 +71,7 @@ config TRACE_CLOCK
config RING_BUFFER
bool
select TRACE_CLOCK
+ select IRQ_WORK

config FTRACE_NMI_ENTER
bool
@@ -107,7 +108,6 @@ config TRACING
select BINARY_PRINTF
select EVENT_TRACING
select TRACE_CLOCK
- select IRQ_WORK

config GENERIC_TRACER
bool
--
1.7.10.4


Attachment: signature.asc
Description: This is a digitally signed message part