aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/dumpstack_64.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2010-02-03 14:21:32 -0500
committerIngo Molnar <mingo@elte.hu>2010-02-04 03:27:56 -0500
commitf266d7f5f89652a68e21e9882c44ee9104ad8d61 (patch)
tree94372b175f2bac95f6e85be1ae8ded1e7f985a7f /arch/x86/kernel/dumpstack_64.c
parente9e70bc14ea5974e21f5baecf95a123844c412b9 (diff)
x86_64: Print modules like i386 does
Print modules list during kernel BUG. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Arjan van de Ven <arjan@linux.intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/dumpstack_64.c')
-rw-r--r--arch/x86/kernel/dumpstack_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/dumpstack_64.c b/arch/x86/kernel/dumpstack_64.c
index 0ad9597073f5..907a90e2901c 100644
--- a/arch/x86/kernel/dumpstack_64.c
+++ b/arch/x86/kernel/dumpstack_64.c
@@ -291,6 +291,7 @@ void show_registers(struct pt_regs *regs)
291 291
292 sp = regs->sp; 292 sp = regs->sp;
293 printk("CPU %d ", cpu); 293 printk("CPU %d ", cpu);
294 print_modules();
294 __show_regs(regs, 1); 295 __show_regs(regs, 1);
295 printk("Process %s (pid: %d, threadinfo %p, task %p)\n", 296 printk("Process %s (pid: %d, threadinfo %p, task %p)\n",
296 cur->comm, cur->pid, task_thread_info(cur), cur); 297 cur->comm, cur->pid, task_thread_info(cur), cur);