Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15627bd3 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: restore exception banner when dumping crash info



Previous unification code put the exception banner behind the "is oops"
logic when it should have been printed all the time.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 0e4edcf0
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -570,11 +570,12 @@ asmlinkage void trap_c(struct pt_regs *fp)
	if (kernel_mode_regs(fp) || (current && !current->mm)) {
		console_verbose();
		oops_in_progress = 1;
		if (strerror)
			verbose_printk(strerror);
	}

	if (sig != SIGTRAP) {
		if (strerror)
			verbose_printk(strerror);

		dump_bfin_process(fp);
		dump_bfin_mem(fp);
		show_regs(fp);