parisc: replace oops_in_progress manipulation with bust_spinlocks()

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>
This commit is contained in:
Sergey Senozhatsky 2019-01-07 18:56:12 +09:00 committed by Helge Deller
parent f73493eb4a
commit c288ac978c
1 changed files with 2 additions and 2 deletions

View File

@ -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();