diff options
Diffstat (limited to 'arch/x86/kernel/dumpstack.c')
-rw-r--r-- | arch/x86/kernel/dumpstack.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/x86/kernel/dumpstack.c b/arch/x86/kernel/dumpstack.c index dd1a7c391c90..deb6421c9e69 100644 --- a/arch/x86/kernel/dumpstack.c +++ b/arch/x86/kernel/dumpstack.c | |||
@@ -191,24 +191,6 @@ void show_stack(struct task_struct *task, unsigned long *sp) | |||
191 | show_stack_log_lvl(task, NULL, sp, bp, ""); | 191 | show_stack_log_lvl(task, NULL, sp, bp, ""); |
192 | } | 192 | } |
193 | 193 | ||
194 | /* | ||
195 | * The architecture-independent dump_stack generator | ||
196 | */ | ||
197 | void dump_stack(void) | ||
198 | { | ||
199 | unsigned long bp; | ||
200 | unsigned long stack; | ||
201 | |||
202 | bp = stack_frame(current, NULL); | ||
203 | printk("Pid: %d, comm: %.20s %s %s %.*s\n", | ||
204 | current->pid, current->comm, print_tainted(), | ||
205 | init_utsname()->release, | ||
206 | (int)strcspn(init_utsname()->version, " "), | ||
207 | init_utsname()->version); | ||
208 | show_trace(NULL, NULL, &stack, bp); | ||
209 | } | ||
210 | EXPORT_SYMBOL(dump_stack); | ||
211 | |||
212 | static arch_spinlock_t die_lock = __ARCH_SPIN_LOCK_UNLOCKED; | 194 | static arch_spinlock_t die_lock = __ARCH_SPIN_LOCK_UNLOCKED; |
213 | static int die_owner = -1; | 195 | static int die_owner = -1; |
214 | static unsigned int die_nest_count; | 196 | static unsigned int die_nest_count; |