X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fstacktrace.h;h=5da9794b2d782d27f3f77fde3418521a6a19a3e8;hb=2239aff6ab2b95af1f628eee7a809f21c41605b3;hp=1d2b084c01859a3b4ebb4f1657129e8451110b5e;hpb=2c4f365ad2361c93c097e958b2b0a7a112750228;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h index 1d2b084c018..5da9794b2d7 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h @@ -9,11 +9,14 @@ struct stack_trace { }; extern void save_stack_trace(struct stack_trace *trace); +extern void save_stack_trace_tsk(struct task_struct *tsk, + struct stack_trace *trace); extern void print_stack_trace(struct stack_trace *trace, int spaces); #else # define save_stack_trace(trace) do { } while (0) -# define print_stack_trace(trace) do { } while (0) +# define save_stack_trace_tsk(tsk, trace) do { } while (0) +# define print_stack_trace(trace, spaces) do { } while (0) #endif #endif