diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-24 15:03:46 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-24 15:03:46 +0900 |
commit | 49453264997f232008efae457553d82381f9614f (patch) | |
tree | ab5e697e26453774c5aece0936aaf4c59173ec1b /arch/sh/kernel/traps_64.c | |
parent | f9369910a6225b8d4892c3f20ae740a711cd5ace (diff) | |
download | op-kernel-dev-49453264997f232008efae457553d82381f9614f.zip op-kernel-dev-49453264997f232008efae457553d82381f9614f.tar.gz |
sh64: Convert to unwinder API.
This switches over to use the sh unwinder API which brings it all in line
with the general sh routines (which we shuffle around at the same time),
and lets us kill off more sh64-specific cruft.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/traps_64.c')
-rw-r--r-- | arch/sh/kernel/traps_64.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/sh/kernel/traps_64.c b/arch/sh/kernel/traps_64.c index 8dae93e..ba95d63 100644 --- a/arch/sh/kernel/traps_64.c +++ b/arch/sh/kernel/traps_64.c @@ -253,32 +253,6 @@ int do_unknown_trapa(unsigned long scId, struct pt_regs *regs) return -ENOSYS; } -void show_stack(struct task_struct *tsk, unsigned long *sp) -{ -#ifdef CONFIG_KALLSYMS - extern void sh64_unwind(struct pt_regs *regs); - struct pt_regs *regs; - - regs = tsk ? tsk->thread.kregs : NULL; - - sh64_unwind(regs); -#else - printk(KERN_ERR "Can't backtrace on sh64 without CONFIG_KALLSYMS\n"); -#endif -} - -void show_task(unsigned long *sp) -{ - show_stack(NULL, sp); -} - -void dump_stack(void) -{ - show_task(NULL); -} -/* Needed by any user of WARN_ON in view of the defn in include/asm-sh/bug.h */ -EXPORT_SYMBOL(dump_stack); - static void do_unhandled_exception(int trapnr, int signr, char *str, char *fn_name, unsigned long error_code, struct pt_regs *regs, struct task_struct *tsk) { |