summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/stacktrace.h
Commit message (Collapse)AuthorAgeFilesLines
* [MIPS] unwind_stack should return a value ...Ralf Baechle2007-08-271-0/+1
| | | | | | And gcc 3.4 doesn't even warn out this, grrr. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Fix build error if CONFIG_KALLSYMS is undefined.Ralf Baechle2007-08-271-1/+4
| | | | | | | | CC arch/mips/kernel/traps.o arch/mips/kernel/traps.c: In function 'show_backtrace': arch/mips/kernel/traps.c:110: warning: unused variable 'ra' Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Make unwind_stack() can dig into interrupted contextAtsushi Nemoto2006-10-011-1/+1
| | | | | | | | | | 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>
* [MIPS] lockdep: Add STACKTRACE_SUPPORT and enable LOCKDEP_SUPPORTAtsushi Nemoto2006-10-011-0/+44
Implement stacktrace interface by using unwind_stack() and enable lockdep support in Kconfig. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
OpenPOWER on IntegriCloud