Blackfin arch: print out modules that are loaded if we get a kernel oops

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
This commit is contained in:
Robin Getz 2007-11-18 00:20:49 +08:00 committed by Bryan Wu
parent 5c91fb902d
commit 4c26c6c9bf
1 changed files with 1 additions and 0 deletions

View 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