powerpc/ftrace: Enable HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
[linux-2.6-block.git] / arch / powerpc / kernel / stacktrace.c
index 1e2276963f6d324741184af7fbaa88690b137b2e..e2a46cfed5fd1b97ca3139f52678363c5b8d5456 100644 (file)
@@ -182,7 +182,7 @@ static int __save_stack_trace_tsk_reliable(struct task_struct *tsk,
                 * FIXME: IMHO these tests do not belong in
                 * arch-dependent code, they are generic.
                 */
-               ip = ftrace_graph_ret_addr(tsk, &graph_idx, ip, NULL);
+               ip = ftrace_graph_ret_addr(tsk, &graph_idx, ip, stack);
 #ifdef CONFIG_KPROBES
                /*
                 * Mark stacktraces with kretprobed functions on them