mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-17 03:37:42 +07:00
parisc: oops_enter()/oops_exit() in die()
As pointed out by Russell in http://marc.info/?l=linux-arch&m=118208089204630&w=2 Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
This commit is contained in:
parent
c84c3a698f
commit
c48faf86b0
@ -247,6 +247,8 @@ void die_if_kernel(char *str, struct pt_regs *regs, long err)
|
|||||||
|
|
||||||
oops_in_progress = 1;
|
oops_in_progress = 1;
|
||||||
|
|
||||||
|
oops_enter();
|
||||||
|
|
||||||
/* Amuse the user in a SPARC fashion */
|
/* Amuse the user in a SPARC fashion */
|
||||||
if (err) printk(
|
if (err) printk(
|
||||||
KERN_CRIT " _______________________________ \n"
|
KERN_CRIT " _______________________________ \n"
|
||||||
@ -293,6 +295,7 @@ KERN_CRIT " || ||\n");
|
|||||||
panic("Fatal exception");
|
panic("Fatal exception");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
oops_exit();
|
||||||
do_exit(SIGSEGV);
|
do_exit(SIGSEGV);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user