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:
parent
e9e70bc14e
commit
f266d7f5f8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue