Commit c288ac97 authored by Sergey Senozhatsky's avatar Sergey Senozhatsky Committed by Helge Deller

parisc: replace oops_in_progress manipulation with bust_spinlocks()

Use bust_spinlocks() function to set oops_in_progress.
Signed-off-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent f73493eb
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment