Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/traps: move call to print_modules() out of show_regs()

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>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
02291257 5e249d6e

+1 -1
+1 -1
arch/s390/kernel/traps.c
··· 231 231 232 232 void show_regs(struct pt_regs *regs) 233 233 { 234 - print_modules(); 235 234 printk("CPU: %d %s %s %.*s\n", 236 235 task_thread_info(current)->cpu, print_tainted(), 237 236 init_utsname()->release, ··· 270 271 #endif 271 272 printk("\n"); 272 273 notify_die(DIE_OOPS, str, regs, 0, regs->int_code & 0xffff, SIGSEGV); 274 + print_modules(); 273 275 show_regs(regs); 274 276 bust_spinlocks(0); 275 277 add_taint(TAINT_DIE);