From: Steven Rostedt Date: Mon, 12 May 2008 19:20:54 +0000 (+0200) Subject: ftrace: remove wakeup from function trace X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8f96da02c14d722ad9a3713cd7273ce28c9036ad;p=mv-sheeva.git ftrace: remove wakeup from function trace trace_function is called by mcount and calling wake_up from that can have unpredictable results. This patch removes the wakeup from trace_function. Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index b63fe909f87..736dcfb3ed0 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -659,8 +659,6 @@ trace_function(struct trace_array *tr, struct trace_array_cpu *data, entry->fn.ip = ip; entry->fn.parent_ip = parent_ip; spin_unlock_irqrestore(&data->lock, irq_flags); - - trace_wake_up(); } void