Commit 02291257 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

s390/traps: move call to print_modules() out of show_regs()

Same as 0fa0e2f0 "x86: Move call to print_modules() out of show_regs()".
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 5e249d6e
...@@ -231,7 +231,6 @@ void show_registers(struct pt_regs *regs) ...@@ -231,7 +231,6 @@ void show_registers(struct pt_regs *regs)
void show_regs(struct pt_regs *regs) void show_regs(struct pt_regs *regs)
{ {
print_modules();
printk("CPU: %d %s %s %.*s\n", printk("CPU: %d %s %s %.*s\n",
task_thread_info(current)->cpu, print_tainted(), task_thread_info(current)->cpu, print_tainted(),
init_utsname()->release, init_utsname()->release,
...@@ -271,6 +270,7 @@ void die(struct pt_regs *regs, const char *str) ...@@ -271,6 +270,7 @@ void die(struct pt_regs *regs, const char *str)
#endif #endif
printk("\n"); printk("\n");
notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV); notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV);
print_modules();
show_regs(regs); show_regs(regs);
bust_spinlocks(0); bust_spinlocks(0);
add_taint(TAINT_DIE); add_taint(TAINT_DIE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment