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

Commit c48faf86 authored by Helge Deller's avatar Helge Deller Committed by Kyle McMartin
Browse files

parisc: oops_enter()/oops_exit() in die()

parent c84c3a69
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -247,6 +247,8 @@ void die_if_kernel(char *str, struct pt_regs *regs, long err)

	oops_in_progress = 1;

	oops_enter();

	/* Amuse the user in a SPARC fashion */
	if (err) printk(
KERN_CRIT "      _______________________________ \n"
@@ -293,6 +295,7 @@ KERN_CRIT " || ||\n");
		panic("Fatal exception");
	}

	oops_exit();
	do_exit(SIGSEGV);
}