Skip to contentSkip to conversation

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

PATCH New Helge Deller 1 participant 1 message Feb 15, 2009 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 1/1 parisc: oops_enter()/oops_exit() in die().

As pointed out by Russell in http://marc.info/?l=linux-arch&m=118208089204630&w=2

arch/parisc/kernel/traps.c +3 -0
index 7bf122a..c32f5d6 100644
@@ -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);
 }