Skip to content

Commit cc2c169

Browse files
Merge patch "riscv: stacktrace: convert arch_stack_walk() to noinstr"
This first patch in the larger series is a fix, so I'm merging it into fixes while the rest of the patch set is still under development. * b4-shazam-merge: riscv: stacktrace: convert arch_stack_walk() to noinstr Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
2 parents edf2d54 + 23b2188 commit cc2c169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/kernel/stacktrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ unsigned long __get_wchan(struct task_struct *task)
156156
return pc;
157157
}
158158

159-
noinline void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie,
159+
noinline noinstr void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie,
160160
struct task_struct *task, struct pt_regs *regs)
161161
{
162162
walk_stackframe(task, regs, consume_entry, cookie);

0 commit comments

Comments
 (0)