sh: Proper show_stack/show_trace() implementation.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 12 Oct 2006 08:07:45 +0000 (17:07 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 19 Oct 2006 07:30:31 +0000 (16:30 +0900)
commit6b0022305f80cf249de69e746f6f5ccf7ffc5b7c
tree6434c1856bd3f38e03df04d6337b35e26760cf12
parentce9e3d9953c8cb67001719b5516da2928e956be4
sh: Proper show_stack/show_trace() implementation.

This splits out some of the previous show_stack() implementation which
was mostly doing the show_trace() work without actually dumping any of
the stack contents. This now gets split in to two sections, where we
do the fetching of the stack pointer and subsequent stack dumping in
show_stack(), while moving the call trace in to show_trace().

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/process.c
arch/sh/kernel/traps.c
include/asm-sh/processor.h