projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73493e
)
parisc: replace oops_in_progress manipulation with bust_spinlocks()
author
Sergey Senozhatsky
<sergey.senozhatsky.work@gmail.com>
Mon, 7 Jan 2019 09:56:12 +0000
(18:56 +0900)
committer
Helge Deller
<deller@gmx.de>
Thu, 21 Feb 2019 19:37:11 +0000
(20:37 +0100)
Use bust_spinlocks() function to set oops_in_progress.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/traps.c
b/arch/parisc/kernel/traps.c
index
472a818
..
7e1ccaf
100644
(file)
--- a/
arch/parisc/kernel/traps.c
+++ b/
arch/parisc/kernel/traps.c
@@
-218,7
+218,7
@@
void die_if_kernel(char *str, struct pt_regs *regs, long err)
return;
}
-
oops_in_progress = 1
;
+
bust_spinlocks(1)
;
oops_enter();
@@
-396,7
+396,7
@@
void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long o
{
static DEFINE_SPINLOCK(terminate_lock);
-
oops_in_progress = 1
;
+
bust_spinlocks(1)
;
set_eiem(0);
local_irq_disable();