[MIPS] Make unwind_stack() can dig into interrupted context
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Fri, 29 Sep 2006 09:02:51 +0000 (18:02 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 1 Oct 2006 22:16:59 +0000 (23:16 +0100)
commit1924600cdb3143cdcc32b6fa43325739503659b9
tree002a03fe8e97db3f3a2b07d1d0d27381f80357b9
parent23126692e30ec22760e0ef932c3c2fff00d440bb
[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>
arch/mips/kernel/process.c
arch/mips/kernel/stacktrace.c
arch/mips/kernel/traps.c
include/asm-mips/stacktrace.h