x86_64: Print modules like i386 does
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 3 Feb 2010 19:21:32 +0000 (21:21 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Feb 2010 08:27:56 +0000 (09:27 +0100)
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>
arch/x86/kernel/dumpstack_64.c

index 0ad9597..907a90e 100644 (file)
@@ -291,6 +291,7 @@ void show_registers(struct pt_regs *regs)
 
        sp = regs->sp;
        printk("CPU %d ", cpu);
+       print_modules();
        __show_regs(regs, 1);
        printk("Process %s (pid: %d, threadinfo %p, task %p)\n",
                cur->comm, cur->pid, task_thread_info(cur), cur);