Commit 598c5aba authored by Ralf Baechle's avatar Ralf Baechle

MIPS: IP27: Convert nmi_lock lock to arch spinlock;

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2ba53e37
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
typedef unsigned long machreg_t; typedef unsigned long machreg_t;
static DEFINE_SPINLOCK(nmi_lock); static arch_spinlock_t nmi_lock = __ARCH_SPIN_LOCK_UNLOCKED;
/* /*
* Lets see what else we need to do here. Set up sp, gp? * Lets see what else we need to do here. Set up sp, gp?
...@@ -194,7 +194,7 @@ cont_nmi_dump(void) ...@@ -194,7 +194,7 @@ cont_nmi_dump(void)
/* /*
* Only allow 1 cpu to proceed * Only allow 1 cpu to proceed
*/ */
spin_lock(&nmi_lock); arch_spin_lock(&nmi_lock);
#ifdef REAL_NMI_SIGNAL #ifdef REAL_NMI_SIGNAL
/* /*
......
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