patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / h8300 / kernel / traps.c
index 253c87b..300e327 100644 (file)
@@ -156,8 +156,14 @@ void show_stack(struct task_struct *task, unsigned long *esp)
        printk("\n");
 }
 
+void show_trace_task(struct task_struct *tsk)
+{
+       show_stack(tsk,(unsigned long *)tsk->thread.esp0);
+}
+
 void dump_stack(void)
 {
        show_stack(NULL,NULL);
 }
+
 EXPORT_SYMBOL(dump_stack);