arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / unicore32 / include / asm / stacktrace.h
blob3e59f9d2faedacc0fccb3acef1767b08e46f3b27
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * linux/arch/unicore32/include/asm/stacktrace.h
5 * Code specific to PKUnity SoC and UniCore ISA
7 * Copyright (C) 2001-2010 GUAN Xue-tao
8 */
10 #ifndef __UNICORE_STACKTRACE_H__
11 #define __UNICORE_STACKTRACE_H__
13 struct stackframe {
14 unsigned long fp;
15 unsigned long sp;
16 unsigned long lr;
17 unsigned long pc;
20 #ifdef CONFIG_FRAME_POINTER
21 extern int unwind_frame(struct stackframe *frame);
22 #else
23 #define unwind_frame(f) (-EINVAL)
24 #endif
25 extern void walk_stackframe(struct stackframe *frame,
26 int (*fn)(struct stackframe *, void *), void *data);
28 #endif /* __UNICORE_STACKTRACE_H__ */