|
@@ -191,24 +191,6 @@ void show_stack(struct task_struct *task, unsigned long *sp)
|
|
|
show_stack_log_lvl(task, NULL, sp, bp, "");
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- * The architecture-independent dump_stack generator
|
|
|
- */
|
|
|
-void dump_stack(void)
|
|
|
-{
|
|
|
- unsigned long bp;
|
|
|
- unsigned long stack;
|
|
|
-
|
|
|
- bp = stack_frame(current, NULL);
|
|
|
- printk("Pid: %d, comm: %.20s %s %s %.*s\n",
|
|
|
- current->pid, current->comm, print_tainted(),
|
|
|
- init_utsname()->release,
|
|
|
- (int)strcspn(init_utsname()->version, " "),
|
|
|
- init_utsname()->version);
|
|
|
- show_trace(NULL, NULL, &stack, bp);
|
|
|
-}
|
|
|
-EXPORT_SYMBOL(dump_stack);
|
|
|
-
|
|
|
static arch_spinlock_t die_lock = __ARCH_SPIN_LOCK_UNLOCKED;
|
|
|
static int die_owner = -1;
|
|
|
static unsigned int die_nest_count;
|