Blackfin: update ftrace_push_return_trace() breakage
authorMike Frysinger <vapier@gentoo.org>
Mon, 14 Sep 2009 01:50:22 +0000 (01:50 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 02:10:47 +0000 (22:10 -0400)
Commit 71e308a239c updated ftrace_push_return_trace() prototype but didn't
update the Blackfin ftrace code, so things broke.  Since we don't support
the new stuff yet, call it with stub values.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/ftrace.c

index 905bfc40a00b0875761c95b4226103cff6a5120a..f2c85ac6f2daf7dcfa47628a893b3993a15eeedc 100644 (file)
@@ -24,7 +24,7 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr)
        if (unlikely(atomic_read(&current->tracing_graph_pause)))
                return;
 
-       if (ftrace_push_return_trace(*parent, self_addr, &trace.depth) == -EBUSY)
+       if (ftrace_push_return_trace(*parent, self_addr, &trace.depth, 0) == -EBUSY)
                return;
 
        trace.func = self_addr;