mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
fiq_debugger_arm64: Fix running bt command causes Oops panic
Setting frame.prev_type to STACK_TYPE_UNKNOWN to solve it. prev_type is new for struct stackframe of linux5.10 arm64. Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> Change-Id: I6df1d6b860a79f4e15e3ce40f6471aa1de02f986
This commit is contained in:
@@ -191,6 +191,7 @@ void fiq_debugger_dump_stacktrace(struct fiq_debugger_output *output,
|
||||
struct stackframe frame;
|
||||
frame.fp = regs->regs[29];
|
||||
frame.pc = regs->pc;
|
||||
frame.prev_type = STACK_TYPE_UNKNOWN;
|
||||
output->printf(output, "\n");
|
||||
walk_stackframe(current, &frame, report_trace, &sts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user