|
@@ -44,7 +44,8 @@ static void unwind_dump(struct unwind_state *state)
|
|
state->stack_info.type, state->stack_info.next_sp,
|
|
state->stack_info.type, state->stack_info.next_sp,
|
|
state->stack_mask, state->graph_idx);
|
|
state->stack_mask, state->graph_idx);
|
|
|
|
|
|
- for (sp = state->orig_sp; sp; sp = PTR_ALIGN(stack_info.next_sp, sizeof(long))) {
|
|
|
|
|
|
+ for (sp = PTR_ALIGN(state->orig_sp, sizeof(long)); sp;
|
|
|
|
+ sp = PTR_ALIGN(stack_info.next_sp, sizeof(long))) {
|
|
if (get_stack_info(sp, state->task, &stack_info, &visit_mask))
|
|
if (get_stack_info(sp, state->task, &stack_info, &visit_mask))
|
|
break;
|
|
break;
|
|
|
|
|