Blackfin arch: print out modules that are loaded if we get a kernel oops
authorRobin Getz <robin.getz@analog.com>
Sat, 17 Nov 2007 16:20:49 +0000 (00:20 +0800)
committerBryan Wu <bryan.wu@analog.com>
Sat, 17 Nov 2007 16:20:49 +0000 (00:20 +0800)
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/traps.c

index fbdf999bd2b56dfb2062c601ddf61f83d694ecbf..1a72a8029a34f8047fcbcceb3a59dca8221d145b 100644 (file)
@@ -629,6 +629,7 @@ void dump_bfin_regs(struct pt_regs *fp, void *retaddr)
                }
        } else {
                printk(KERN_NOTICE "Kernel or interrupt exception\n");
+               print_modules();
        }
 
        if (retaddr >= (void *)FIXED_CODE_START  && retaddr < (void *)physical_mem_end