Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / riscv / include / asm / stacktrace.h
blob470a65c4ccdccddb868d4692d85398e0990dcd39
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef _ASM_RISCV_STACKTRACE_H
4 #define _ASM_RISCV_STACKTRACE_H
6 #include <linux/sched.h>
7 #include <asm/ptrace.h>
9 struct stackframe {
10 unsigned long fp;
11 unsigned long ra;
14 extern void notrace walk_stackframe(struct task_struct *task, struct pt_regs *regs,
15 bool (*fn)(void *, unsigned long), void *arg);
17 #endif /* _ASM_RISCV_STACKTRACE_H */