dump_stack: consolidate dump_stack() implementations and unify their behaviors
[linux-3.10.git] / arch / mips / kernel / traps.c
index c3abb88..b512b28 100644 (file)
@@ -206,19 +206,6 @@ void show_stack(struct task_struct *task, unsigned long *sp)
        show_stacktrace(task, &regs);
 }
 
-/*
- * The architecture-independent dump_stack generator
- */
-void dump_stack(void)
-{
-       struct pt_regs regs;
-
-       prepare_frametrace(&regs);
-       show_backtrace(current, &regs);
-}
-
-EXPORT_SYMBOL(dump_stack);
-
 static void show_code(unsigned int __user *pc)
 {
        long i;