summaryrefslogtreecommitdiff
path: root/arch/loongarch/kernel/unwind_prologue.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/kernel/unwind_prologue.c')
-rw-r--r--arch/loongarch/kernel/unwind_prologue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/kernel/unwind_prologue.c b/arch/loongarch/kernel/unwind_prologue.c
index 55afc27320e1..929ae240280a 100644
--- a/arch/loongarch/kernel/unwind_prologue.c
+++ b/arch/loongarch/kernel/unwind_prologue.c
@@ -227,7 +227,7 @@ static bool next_frame(struct unwind_state *state)
} while (!get_stack_info(state->sp, state->task, info));
out:
- state->error = true;
+ state->stack_info.type = STACK_TYPE_UNKNOWN;
return false;
}