aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2020-11-13 14:42:22 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-11-20 18:53:38 -0800
commit9dd97064e21fc9cba391d4f4983aff4861a7cce8 (patch)
tree7aafd010d454334a73f7dc26813b22837f2ee703 /arch/riscv/include/asm
parent99c168fccbfedbc10ce1cb2dcb9eb790c478d833 (diff)
downloadlinux-9dd97064e21fc9cba391d4f4983aff4861a7cce8.tar.gz
riscv: Make stack walk callback consistent with generic code
In order to use generic arch_stack_walk() code, make stack walk callback consistent with it. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/include/asm')
-rw-r--r--arch/riscv/include/asm/stacktrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/stacktrace.h b/arch/riscv/include/asm/stacktrace.h
index f09c1e31bde9..470a65c4ccdc 100644
--- a/arch/riscv/include/asm/stacktrace.h
+++ b/arch/riscv/include/asm/stacktrace.h
@@ -12,6 +12,6 @@ struct stackframe {
};
extern void notrace walk_stackframe(struct task_struct *task, struct pt_regs *regs,
- bool (*fn)(unsigned long, void *), void *arg);
+ bool (*fn)(void *, unsigned long), void *arg);
#endif /* _ASM_RISCV_STACKTRACE_H */