sh: Use the generalized stacktrace ops
authorMatt Fleming <matt@console-pimps.org>
Fri, 7 Aug 2009 15:11:19 +0000 (16:11 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 13 Aug 2009 02:50:08 +0000 (11:50 +0900)
commit4e14dfc722b8e9e07a355f97aa60a3d9f0739071
tree0d5b9f6ecb99a050e2ddb839aead6a1d235c26cb
parent922b0dc59bb43f7ff3bb8b9558ffeb3ad6af528e
sh: Use the generalized stacktrace ops

Copy the stacktrace ops code from x86 and provide a central function for
use by functions that need to dump a callstack.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/stacktrace.h [new file with mode: 0644]
arch/sh/kernel/Makefile_32
arch/sh/kernel/dumpstack.c [new file with mode: 0644]
arch/sh/kernel/stacktrace.c
arch/sh/kernel/traps_32.c
arch/sh/oprofile/backtrace.c