]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
s390/traps: move call to print_modules() out of show_regs()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 24 Sep 2012 06:22:00 +0000 (08:22 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Sep 2012 13:45:27 +0000 (15:45 +0200)
Same as 0fa0e2f0 "x86: Move call to print_modules() out of show_regs()".

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 befc761fc154b2e96b1762600480ddb2b801d7c5..3d2b0fa37db09649f6bcf0861de452144c22b0da 100644 (file)
@@ -231,7 +231,6 @@ void show_registers(struct pt_regs *regs)
 
 void show_regs(struct pt_regs *regs)
 {
-       print_modules();
        printk("CPU: %d %s %s %.*s\n",
               task_thread_info(current)->cpu, print_tainted(),
               init_utsname()->release,
@@ -271,6 +270,7 @@ void die(struct pt_regs *regs, const char *str)
 #endif
        printk("\n");
        notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV);
+       print_modules();
        show_regs(regs);
        bust_spinlocks(0);
        add_taint(TAINT_DIE);