X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fstacktrace.h;h=e7fa657d0c4940c6300a9ce4e516b73f765e31f3;hb=24e377a83220ef05c9b5bec7e01d65eed6609aa6;hp=50e2b01e517cc3c9bdf3af4b328c4afb8d3aab21;hpb=185a257f2f73bcd89050ad02da5bedbc28fc43fa;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h index 50e2b01e517..e7fa657d0c4 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h @@ -6,16 +6,14 @@ struct stack_trace { unsigned int nr_entries, max_entries; unsigned long *entries; int skip; /* input argument: How many entries to skip */ - int all_contexts; /* input argument: if true do than one stack */ }; -extern void save_stack_trace(struct stack_trace *trace, - struct task_struct *task); +extern void save_stack_trace(struct stack_trace *trace); extern void print_stack_trace(struct stack_trace *trace, int spaces); #else -# define save_stack_trace(trace, task) do { } while (0) -# define print_stack_trace(trace) do { } while (0) +# define save_stack_trace(trace) do { } while (0) +# define print_stack_trace(trace, spaces) do { } while (0) #endif #endif