Merge remote-tracking branch 'asoc/topic/component' into asoc-next
[sfrench/cifs-2.6.git] / arch / metag / include / asm / stacktrace.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_STACKTRACE_H
3 #define __ASM_STACKTRACE_H
4
5 struct stackframe {
6         unsigned long fp;
7         unsigned long sp;
8         unsigned long lr;
9         unsigned long pc;
10 };
11
12 struct metag_frame {
13         unsigned long fp;
14         unsigned long lr;
15 };
16
17 extern int unwind_frame(struct stackframe *frame);
18 extern void walk_stackframe(struct stackframe *frame,
19                             int (*fn)(struct stackframe *, void *), void *data);
20
21 #endif  /* __ASM_STACKTRACE_H */