]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - arch/metag/include/asm/stacktrace.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / metag / include / asm / stacktrace.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
e8de3486
JH
2#ifndef __ASM_STACKTRACE_H
3#define __ASM_STACKTRACE_H
4
5struct stackframe {
6 unsigned long fp;
7 unsigned long sp;
8 unsigned long lr;
9 unsigned long pc;
10};
11
12struct metag_frame {
13 unsigned long fp;
14 unsigned long lr;
15};
16
17extern int unwind_frame(struct stackframe *frame);
18extern void walk_stackframe(struct stackframe *frame,
19 int (*fn)(struct stackframe *, void *), void *data);
20
21#endif /* __ASM_STACKTRACE_H */