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>
This commit is contained in:
committed by
Ingo Molnar
parent
e9e70bc14e
commit
f266d7f5f8
@@ -291,6 +291,7 @@ void show_registers(struct pt_regs *regs)
|
|||||||
|
|
||||||
sp = regs->sp;
|
sp = regs->sp;
|
||||||
printk("CPU %d ", cpu);
|
printk("CPU %d ", cpu);
|
||||||
|
print_modules();
|
||||||
__show_regs(regs, 1);
|
__show_regs(regs, 1);
|
||||||
printk("Process %s (pid: %d, threadinfo %p, task %p)\n",
|
printk("Process %s (pid: %d, threadinfo %p, task %p)\n",
|
||||||
cur->comm, cur->pid, task_thread_info(cur), cur);
|
cur->comm, cur->pid, task_thread_info(cur), cur);
|
||||||
|
Reference in New Issue
Block a user