From: Heiko Carstens Date: Tue, 19 Jun 2007 11:10:04 +0000 (+0200) Subject: [S390] Print list of modules on die(). X-Git-Tag: v2.6.22-rc6~85^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fc9bbf771ce7d41ed33300e75e74e922dde1c38;p=linux-2.6 [S390] Print list of modules on die(). Print list of modules on die() like a lot of other architectures do. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c index cbfe73034c..1d8c92740c 100644 --- a/arch/s390/kernel/traps.c +++ b/arch/s390/kernel/traps.c @@ -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);