Catalin Marinas | 2d7c11b | 2009-02-11 13:07:53 +0100 | [diff] [blame] | 1 | #ifndef __ASM_STACKTRACE_H |
2 | #define __ASM_STACKTRACE_H | ||||
3 | |||||
4 | struct stackframe { | ||||
5 | unsigned long fp; | ||||
6 | unsigned long sp; | ||||
7 | unsigned long lr; | ||||
8 | unsigned long pc; | ||||
9 | }; | ||||
10 | |||||
11 | extern int unwind_frame(struct stackframe *frame); | ||||
12 | extern void walk_stackframe(struct stackframe *frame, | ||||
13 | int (*fn)(struct stackframe *, void *), void *data); | ||||
14 | |||||
15 | #endif /* __ASM_STACKTRACE_H */ |