summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/stacktrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/stacktrace.h')
-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 */