[MIPS] Remove Momenco Jaguar ATX support
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / stacktrace.h
blob1d2b084c01859a3b4ebb4f1657129e8451110b5e
1 #ifndef __LINUX_STACKTRACE_H
2 #define __LINUX_STACKTRACE_H
4 #ifdef CONFIG_STACKTRACE
5 struct stack_trace {
6 unsigned int nr_entries, max_entries;
7 unsigned long *entries;
8 int skip; /* input argument: How many entries to skip */
9 };
11 extern void save_stack_trace(struct stack_trace *trace);
13 extern void print_stack_trace(struct stack_trace *trace, int spaces);
14 #else
15 # define save_stack_trace(trace) do { } while (0)
16 # define print_stack_trace(trace) do { } while (0)
17 #endif
19 #endif