You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[MIPS] Make unwind_stack() can dig into interrupted context
If the PC was ret_from_irq or ret_from_exception, there will be no more normal stackframe. Instead of stopping the unwinding, use PC and RA saved by an exception handler to continue unwinding into the interrupted context. This also simplifies the CONFIG_STACKTRACE code. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
23126692e3
commit
1924600cdb
@@ -6,7 +6,7 @@
|
||||
#ifdef CONFIG_KALLSYMS
|
||||
extern int raw_show_trace;
|
||||
extern unsigned long unwind_stack(struct task_struct *task, unsigned long *sp,
|
||||
unsigned long pc, unsigned long ra);
|
||||
unsigned long pc, unsigned long *ra);
|
||||
#else
|
||||
#define raw_show_trace 1
|
||||
#define unwind_stack(task, sp, pc, ra) 0
|
||||
|
||||
Reference in New Issue
Block a user