Skip to content

Commit 6204a81

Browse files
committed
Merge tag 'objtool_urgent_for_v6.1_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull objtool fix from Borislav Petkov: - Fix ORC stack unwinding when GCOV is enabled * tag 'objtool_urgent_for_v6.1_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/unwind/orc: Fix unreliable stack dump with gcov
2 parents 295dad1 + 230db82 commit 6204a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/unwind_orc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ void __unwind_start(struct unwind_state *state, struct task_struct *task,
713713
/* Otherwise, skip ahead to the user-specified starting frame: */
714714
while (!unwind_done(state) &&
715715
(!on_stack(&state->stack_info, first_frame, sizeof(long)) ||
716-
state->sp < (unsigned long)first_frame))
716+
state->sp <= (unsigned long)first_frame))
717717
unwind_next_frame(state);
718718

719719
return;

0 commit comments

Comments
 (0)