]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[S390] Print list of modules on die().
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 19 Jun 2007 11:10:04 +0000 (13:10 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 19 Jun 2007 11:10:19 +0000 (13:10 +0200)
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>
arch/s390/kernel/traps.c

index cbfe73034c30154dd05ca70eb8760dcdd38f7167..1d8c92740ccdfe5b32e75b982fe380959c857e25 100644 (file)
@@ -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);