Skip to content

Commit

Permalink
[S390] Print list of modules on die().
Browse files Browse the repository at this point in the history
Print list of modules on die() like a lot of other architectures do.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Jun 19, 2007
1 parent 84b36a8 commit 0fc9bbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/s390/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ void die(const char * str, struct pt_regs * regs, long err)
spin_lock_irq(&die_lock);
bust_spinlocks(1);
printk("%s: %04lx [#%d]\n", str, err & 0xffff, ++die_counter);
print_modules();
show_regs(regs);
bust_spinlocks(0);
spin_unlock_irq(&die_lock);
Expand Down

0 comments on commit 0fc9bbf

Please sign in to comment.